Bug#515909: [Adduser-devel] Bug#515909: despite man page claims, a warning is not shown.

2009-09-19 Thread Joerg Hoh
On Wed, Feb 18, 2009 at 02:32:13AM -0800, shaul Karl wrote:
 Package: adduser
 Version: 3.110
 Severity: normal
 
 man page claims:
 
If called with one non-option  argument  and  the  --system  
option, adduser will add a system user. If a user with the same 
name already exists in the system uid range (or, if the uid is  
specified,  if  a user  with  that uid already exists), adduser 
will exit with a warning.
 
 and
 
 --quiet
Suppress  informational  messages,  only  show  warnings  and
errors.
 
 However this doesn't work for me. I do have an ftp user:
 
 # adduser --quiet --system ftp
 #
 

I agree to Stephen, the docs are missing the description of the interaction
of these 2 settings. I will add a statement to the manpage, that --quiet
will surpress this printed warning.

Joerg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife


pgpl3dsvMzQmi.pgp
Description: PGP signature


Bug#515909: despite man page claims, a warning is not shown.

2009-02-18 Thread shaul Karl
Package: adduser
Version: 3.110
Severity: normal

man page claims:

   If called with one non-option  argument  and  the  --system  
   option, adduser will add a system user. If a user with the same 
   name already exists in the system uid range (or, if the uid is  
   specified,  if  a user  with  that uid already exists), adduser 
   will exit with a warning.

and

--quiet
   Suppress  informational  messages,  only  show  warnings  and
   errors.

However this doesn't work for me. I do have an ftp user:

# adduser --quiet --system ftp
#


  



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515909: [Adduser-devel] Bug#515909: despite man page claims, a warning is not shown.

2009-02-18 Thread Stephen Gran
This one time, at band camp, shaul Karl said:
 man page claims:
 
If called with one non-option  argument  and  the  --system  
option, adduser will add a system user. If a user with the same 
name already exists in the system uid range (or, if the uid is  
specified,  if  a user  with  that uid already exists), adduser 
will exit with a warning.
 
 and
 
 --quiet
Suppress  informational  messages,  only  show  warnings  and
errors.
 
 However this doesn't work for me. I do have an ftp user:
 
 # adduser --quiet --system ftp

Hmm.  It's always been my understanding that that is precisely the way
that we encourage maintainer scripts to invoke adduser, and it's not an
error to invoke it with the same set of parameters a second time.  It
sounds like the docs are wrong, rather than the code, but does anyone
else disagree?

Cheers,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :sg...@debian.org |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature