Re: Using the user nobody in my package

2006-11-18 Thread Marc Haber
On Sat, Nov 18, 2006 at 12:59:56PM +0800, Thomas Goirand wrote: > Marc Haber wrote: > > This is ongoing documentation work, see > > http://wiki.debian.org/AccountHandlingInMaintainerScripts > > > > As far as I can see, this doc gives (IHMO) no real directions and says > that it's under discussion

Re: Using the user nobody in my package

2006-11-18 Thread Daniel Baumann
Richard Laager wrote: > On Sat, 2006-11-18 at 12:59 +0800, Thomas Goirand wrote: >> Also, I wanted to have your opinion. Is it ok to use dtc:nogroup, or >> should I also generate a group name and use it? > > I think the same arguments apply for the group. Not really. You /can/ let it run as dtc:n

Re: Using the user nobody in my package

2006-11-17 Thread Richard Laager
On Sat, 2006-11-18 at 12:59 +0800, Thomas Goirand wrote: > Also, I wanted to have your opinion. Is it ok to use dtc:nogroup, or > should I also generate a group name and use it? I think the same arguments apply for the group. Richard signature.asc Description: This is a digitally signed messag

Re: Using the user nobody in my package

2006-11-17 Thread Thomas Goirand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Haber wrote: > > This is ongoing documentation work, see > http://wiki.debian.org/AccountHandlingInMaintainerScripts > As far as I can see, this doc gives (IHMO) no real directions and says that it's under discussion on how to get UIDs... I'm

Re: Using the user nobody in my package

2006-11-17 Thread Marc Haber
On Fri, Nov 17, 2006 at 08:25:18AM +0100, Michael Biebl wrote: > Marc Haber wrote: > > On Thu, Nov 16, 2006 at 01:41:30AM +0100, Michael Biebl wrote: > >> I always use something like this in my postinst scripts > >> > >> if ! getent group foo > /dev/null ; then > >>addgroup --quiet --system foo

Re: Using the user nobody in my package

2006-11-16 Thread Michael Biebl
Marc Haber wrote: > On Thu, Nov 16, 2006 at 01:41:30AM +0100, Michael Biebl wrote: >> I always use something like this in my postinst scripts >> >> if ! getent group foo > /dev/null ; then >> addgroup --quiet --system foo >> fi >> >> This avoids the warning/error message, if the group/user alr

Re: Using the user nobody in my package

2006-11-16 Thread Marc Haber
On Thu, Nov 16, 2006 at 01:41:30AM +0100, Michael Biebl wrote: > I always use something like this in my postinst scripts > > if ! getent group foo > /dev/null ; then > addgroup --quiet --system foo > fi > > This avoids the warning/error message, if the group/user already exists. With my ad

Re: Using the user nobody in my package

2006-11-16 Thread Frank Küster
Thomas Goirand <[EMAIL PROTECTED]> wrote: > If I'm not mistaking "tar" only stores UID and not user names, and > that's also one of my concerns. At least for GNU tar, this is not true: `--numeric-owner' This option will notify `tar' that it should use numeric user and group IDs when c

Re: Using the user nobody in my package

2006-11-16 Thread Thomas Goirand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam Morris wrote: > More at . > Of course, I guess you'd have to persuade whoever maintains the allocation > list that you really do need a static UID assignment. :) How could I make such

Re: Using the user nobody in my package

2006-11-15 Thread Michael Biebl
Russ Allbery wrote: > Thomas Goirand <[EMAIL PROTECTED]> writes: > >> Daniel suggested that there was the possibility of setting-up a specific >> user "dtc" that I could setup on my postinst script. But this leads to >> MANY problems that I will explain here. First, there is no way to >> guarantee

Re: Using the user nobody in my package

2006-11-15 Thread Russ Allbery
Sam Morris <[EMAIL PROTECTED]> writes: >> For that system, we run in only one single UID/GID in the system: we >> use nobody:nogroup for all the hosted files. That includes: ftp access, >> mail system (delivered in user mailbox as nobody), and web. The control >> panel does the change of the User

Re: Using the user nobody in my package

2006-11-15 Thread Sam Morris
> For that system, we run in only one single UID/GID in the system: we use > nobody:nogroup for all the hosted files. That includes: ftp access, mail > system (delivered in user mailbox as nobody), and web. The control panel > does the change of the User and Group directive in Apache so it doesn't

Re: Using the user nobody in my package

2006-11-15 Thread Russ Allbery
Thomas Goirand <[EMAIL PROTECTED]> writes: > Daniel suggested that there was the possibility of setting-up a specific > user "dtc" that I could setup on my postinst script. But this leads to > MANY problems that I will explain here. First, there is no way to > guarantee that the UID will be always

Re: Using the user nobody in my package

2006-11-15 Thread Richard Laager
On Thu, 2006-11-16 at 06:40 +0800, Thomas Goirand wrote: > Please post your thoughts here, so we can have a valuable chat on what > to do. There is a way to get static UID assignments. I'm not sure if that's the best solution here, or how easily they're granted, but I do know it's covered in the p

Re: Using the user nobody in my package

2006-11-15 Thread martin f krafft
also sprach Thomas Goirand <[EMAIL PROTECTED]> [2006.11.15.2340 +0100]: > For that system, we run in only one single UID/GID in the system: we use > nobody:nogroup for all the hosted files. That includes: ftp access, mail > system (delivered in user mailbox as nobody), and web. The control panel >

Using the user nobody in my package

2006-11-15 Thread Thomas Goirand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am working with Daniel Baumann so my package can be uploaded to Debian. He has helped me really a lot, and I want to thanks him so much in here, publicly, for doing so. With him, I now understand a lot more about how debian packaging, and I d