Re: daemon user naming scheme

2014-09-05 Thread Ian Jackson
Simon McVittie writes (Re: daemon user naming scheme): It is reasonable to use /var/lib/foo (or /run/foo or /var/cache/foo or /var/games/foo) as the home directory of a system user whose name is _foo, debian-foo, Debian-foo or whatever. You need to be careful that the directory chosen never

Re: daemon user naming scheme

2014-09-05 Thread Simon McVittie
On 05/09/14 16:03, Ian Jackson wrote: Simon McVittie writes (Re: daemon user naming scheme): It is reasonable to use /var/lib/foo (or /run/foo or /var/cache/foo or /var/games/foo) as the home directory of a system user whose name is _foo, debian-foo, Debian-foo or whatever. You need

Re: daemon user naming scheme

2014-09-05 Thread Thorsten Glaser
On Fri, 5 Sep 2014, Ian Jackson wrote: Simon McVittie writes (Re: daemon user naming scheme): It is reasonable to use /var/lib/foo (or /run/foo or /var/cache/foo or /var/games/foo) as the home directory of a system user whose name is _foo, debian-foo, Debian-foo or whatever. You need

Re: daemon user naming scheme

2014-08-28 Thread Thorsten Glaser
On Mon, 25 Aug 2014, Jerome BENOIT wrote: On 25/08/14 16:53, Simon McVittie wrote: * Debian-foo * Dfoo Uppercase may have problems dealing with eMail. Sometimes, dæmon users may want that. I strongly suggest to not use uppercase letters in usernames, system or not. I think I slightly

Re: daemon user naming scheme

2014-08-27 Thread Matthias Urlichs
Hi, Matt Zagrabelny: On Tue, Aug 26, 2014 at 12:10 PM, Matthias Urlichs matth...@urlichs.de wrote: adduser tango --uid $UID --gid $GID typo? adduser _tango --uid $UID --gid $GID Right. Of course. Thanks for spotting. :-/ -- -- Matthias Urlichs -- To UNSUBSCRIBE, email to

Re: daemon user naming scheme

2014-08-26 Thread Guido Günther
On Mon, Aug 25, 2014 at 03:53:22PM +0100, Simon McVittie wrote: On 25/08/14 14:01, Jerome BENOIT wrote: is there for Debian a daemon user naming scheme or custom ? Several :-( The ones I've seen suggested are (assuming a package, daemon or user whose simple name is foo): * _foo * foo

Re: daemon user naming scheme

2014-08-26 Thread Matthias Urlichs
Hi, PICCA Frederic-Emmanuel: I would like to rename the system user tango - _tango But I do not know how to do this rename properly :(( Fake it. UID=$(id -u tango) GID=$(id -g tango) deluser tango adduser tango --uid $UID --gid $GID -- -- Matthias Urlichs -- To UNSUBSCRIBE, email to

Re: daemon user naming scheme

2014-08-26 Thread Matt Zagrabelny
On Tue, Aug 26, 2014 at 12:10 PM, Matthias Urlichs matth...@urlichs.de wrote: adduser tango --uid $UID --gid $GID typo? adduser _tango --uid $UID --gid $GID -mz -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: daemon user naming scheme

2014-08-26 Thread Lars Wirzenius
On Tue, Aug 26, 2014 at 12:40:04PM -0500, Matt Zagrabelny wrote: On Tue, Aug 26, 2014 at 12:10 PM, Matthias Urlichs matth...@urlichs.de wrote: adduser tango --uid $UID --gid $GID typo? adduser _tango --uid $UID --gid $GID The sysadmin may have written scripts and things that assume

Re: daemon user naming scheme

2014-08-26 Thread Guillem Jover
Hi! On Tue, 2014-08-26 at 11:02:54 +, PICCA Frederic-Emmanuel wrote: This has the advantage of being short and downstreams not having lots of Debian-* users on their systems possibly confusing users not familiar with Debian. I'd be nice to standardize on this. I have the same

Re: daemon user naming scheme

2014-08-26 Thread Matthias Urlichs
Hi, PICCA Frederic-Emmanuel: BÙT in case of an idempotent pre/post scripts. what happend if I delete the tango users before creating the new _tango user. Actually, nothing prevents you from creating _tango first. another important point in my case is that I need to do some mysql operation

daemon user naming scheme

2014-08-25 Thread Jerome BENOIT
Hello List, is there for Debian a daemon user naming scheme or custom ? Thanks in advance, Jerome -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53fb3392.9040

Re: daemon user naming scheme

2014-08-25 Thread Simon McVittie
On 25/08/14 14:01, Jerome BENOIT wrote: is there for Debian a daemon user naming scheme or custom ? Several :-( The ones I've seen suggested are (assuming a package, daemon or user whose simple name is foo): * _foo * foo * debian-foo * Debian-foo * Dfoo https://bugs.debian.org/cgi-bin

Re: daemon user naming scheme

2014-08-25 Thread Jerome BENOIT
Thanks for the prompt reply. On 25/08/14 16:53, Simon McVittie wrote: On 25/08/14 14:01, Jerome BENOIT wrote: is there for Debian a daemon user naming scheme or custom ? Several :-( The ones I've seen suggested are (assuming a package, daemon or user whose simple name is foo): * _foo

Re: daemon user naming scheme

2014-08-25 Thread Jerome BENOIT
On 25/08/14 17:20, Jerome BENOIT wrote: Thanks for the prompt reply. On 25/08/14 16:53, Simon McVittie wrote: On 25/08/14 14:01, Jerome BENOIT wrote: is there for Debian a daemon user naming scheme or custom ? Several :-( The ones I've seen suggested are (assuming a package, daemon

Re: daemon user naming scheme

2014-08-25 Thread Simon McVittie
On 25/08/14 18:30, Jerome BENOIT wrote: On 25/08/14 16:53, Simon McVittie wrote: I think I slightly prefer _foo, which originated in *BSD. Moreover, _foo is not accepted by adduser, the option --force-badname must be used. Correct. Debian-foo has the same property; debian-foo does not.