Hallo, Am Sonntag, 2. Juni 2002 00:17 schrieb T. Hantke:
Gibts irgendwo eine Beschreibung welcher Status-Code welcher Fehler ist ?
für useradd, usermod, userdel, groupadd und groupdel ??
ja. Zum Beispiel gehört das Programm useradd zum Paket shadow.rpm. Installiere das Source-RPM und schau in die Quellen: ==== useradd.c ==== [...] /* * exit status values */ #define E_SUCCESS 0 /* success */ #define E_PW_UPDATE 1 /* can't update password file */ #define E_USAGE 2 /* bad command syntax */ #define E_BAD_ARG 3 /* invalid argument to option */ #define E_UID_IN_USE 4 /* uid already in use (and no -o) */ #define E_NOTFOUND 6 /* specified group doesn't exist */ #define E_NAME_IN_USE 9 /* username already in use */ #define E_GRP_UPDATE 10 /* can't update group file */ #define E_HOMEDIR 12 /* can't create home directory */ [....] ==== useradd.c ==== And so on... Schöne Grüße, Stephan -- /* Stephan Hakuli -=-=-=- http://www.hakuli.de/stephan Encryption with GnuPG/GPG is strongly encouraged, my public key is available on my website or on common public keyservers. # find /usr/src/linux-2.2.20 -name "*.[hc]"|xargs grep "can grep" */