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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]