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

Re: Using the user nobody in my package



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 adduser maintainer hat on, that is not the way adduser is
intended to be used. We went to great lengths to make adduser useable
without any surrounding bugs^wcode.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



Reply to: