[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: daemon user naming scheme




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 or user
>> whose simple name is "foo"):
>>
>> * _foo
>> * foo
>> * debian-foo
>> * Debian-foo
>> * Dfoo
>>
>> <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248809> has been open
>> since 2004 and shows no signs of resolution.
>>
>> I think I slightly prefer _foo, which originated in *BSD.

Moreover, _foo is not accepted by adduser, the option --force-badname must be used.

> 
> Let assume this custom:
> is then /var/lib/foo the custom name for its home directory ?
> 
I have just realized that I should avoid this question.



>  However, none
>> of the packages I maintain actually do that; they use Debian-foo or
>> debian-foo for historical reasons (that seemed to be the most popular at
>> the time, and changing a username once you have created it is hard to
>> get right).
>>
>>     S
>>
>>
> Thanks,
> Jerome
> 
> 


Reply to: