| Marc Haber 2005-10-30, 7:48 am |
| On Sun, 30 Oct 2005 10:58:23 +1100, Brian May <bam@debian.org> wrote:
>That is my point - adduser will print a warning if the user already
>exists.
>
>So you need to check to make sure the user doesn't exist first, before
>attempting to add it. Or you get a stupid warning appearing when
>upgrading packages.
If you feel disturbed by the warning, redirect addusers output to
/dev/null. It is specially tailored to not kill the package install if
the user already exists.
>or in a practical sense either:
>
>root@debian:~# adduser aaa
>adduser: The user `aaa' already exists.
>root@debian:~# adduser --quiet aaa
>adduser: The user `aaa' already exists.
>
>(this is sarge/stable - maybe it has changed in unstable?)
Probably not. Maybe one should add an option to suppress these
messages on request. An appropriate patch would be appreciated.
>[1] What is a "progress" message?
Probably inappropriate wording for adduser. An appropriate patch would
be appreciated.
Greetings
Marc
--=20
-------------------------------------- !! No courtesy copies, please !! =
-----
Marc Haber | " Questions are the | Mailadresse im =
Header
Mannheim, Germany | Beginning of Wisdom " | =
http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 =
72739834
|