[Pkg-shadow-devel] Bug#328137: passwd: update for useradd.8

Joerg Hoh joerg at joerghoh.de
Tue Sep 13 19:48:34 UTC 2005


Package: passwd
Version: 1:4.0.3-39
Severity: wishlist


Please include the following patch. It adds the the description of the
return values to the manpage of useradd.

Jörg Hoh

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13jh
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages passwd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libpam-modules                0.76-23    Pluggable Authentication Modules f
ii  libpam0g                      0.76-23    Pluggable Authentication Modules l
ii  login                         1:4.0.3-39 system login tools

passwd recommends no packages.
-------------- next part --------------
--- useradd.8	2002-03-08 05:39:12.000000000 +0100
+++ useradd.8.new	2005-09-13 21:36:33.364781500 +0200
@@ -136,6 +136,24 @@
 .PP
 If no options are specified, \fBuseradd\fR displays the current
 default values.
+.SH "RETURN VALUES"
+0  \- success
+.br
+1  \- can't update password file
+.br
+2  \- bad command syntax
+.br
+3  \- invalid argument to option
+.br
+4  \- uid already in use (and no -o)
+.br
+6  \- specified group doesn't exist
+.br
+9  \- username already in use
+.br
+10 \- can't update group file
+.br
+12 \- can't create home directory
 .SH NOTES
 The system administrator is responsible for placing the default
 user files in the \fI/etc/skel\fR directory.


More information about the Pkg-shadow-devel mailing list