[Adduser-devel] Bug#264570: adduser is too verbose

Brian May Brian May <bam@debian.org>, 264570@bugs.debian.org
Mon, 25 Apr 2005 16:06:54 +1000

>>>>> "Marc" == Marc Haber <mh+debian-packages@zugschlus.de> writes:

    Marc> Adduser issues a single warning if a user to be added does
    Marc> already exist. That warning can be turned off with the
    Marc> --quiet option.

    Marc> amavisd-new triggers other warnings in its
    Marc> postinst. Workarounds:

    Marc> - Create the home directory manually (or have it created
    Marc> with package installation by debian/dirs) and call adduser
    Marc> with --no-create-home.  - Don't manually create the group
    Marc> for the user, call adduser --system --group.

    Marc> Frankly, I believe that adduser can be used in a way that
    Marc> doesn't trigger that many warnings.


I was going to indicate that I disagree, and consider the man page was
wrong, but it looks like the man page has already been fixed ;-)

--- cut ---
       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 with a warning.
--- cut ---

My only slight criticism is that it isn't highlighted that this
warning doesn't occur if used with --quiet, but it solves the issue I
complained about.

Brian May <bam@debian.org>