[Adduser-devel] Bug#264570: adduser is too verbose
Marc Haber
Marc Haber <mh+debian-packages@zugschlus.de>, 264570@bugs.debian.org
Sat, 5 Feb 2005 13:30:19 +0100
tags #264570 wishlist wontfix
thanks
On Sat, Sep 25, 2004 at 03:48:30PM +1000, Brian May wrote:
> According to adduser man page:
>
> If called with one non-option argument and the --system option, adduser
> will add a system user. If an user with an uid in the system range (or
> if the uid is specified, with that) does already exist, adduser will
> exit silently.
>
> However, adduser comes up with a lot of warnings when the user already
> exists, contrary to the documentation which says it should exit
> silently.
Adduser issues a single warning if a user to be added does already
exist. That warning can be turned off with the --quiet option.
amavisd-new triggers other warnings in its postinst. Workarounds:
- Create the home directory manually (or have it created with package
installation by debian/dirs) and call adduser with --no-create-home.
- Don't manually create the group for the user, call adduser --system
--group.
Frankly, I believe that adduser can be used in a way that doesn't
trigger that many warnings.
Thus, I am tagging this bug wontfix and am inclined to close it
entirely.
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