On Thu, Sep 23, 1999 at 10:50:01PM +0200, Christian Hammers wrote: > Hello > > I have a big problem with this new glibc2 "nscd" program. This program > seems to be a cache for the /etc/passwd and /etc/shadow: > > -=(/home/ch/debian/DOC)# adduser --system mysql > Adding system user mysql... > Adding new user mysql (100) with group nogroup. > Home directory /home/mysql already exists. > > -=([EMAIL PROTECTED])=(pts/1)=(22:43:15|23)=- > -=(/home/ch/debian/DOC)# usermod -c ttt mysql > usermod: user mysql does not exist
I always get mixed up between adduser and useradd. I don't know if it is recommended that you use one or the other. useradd has a -c option: [507] [snoopy:bam] ~ >/usr/sbin/useradd --help /usr/sbin/useradd: invalid option -- - usage: useradd [-u uid [-o]] [-g group] [-G group,...] [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire mm/dd/yy] [-p passwd] name useradd -D [-g group] [-b base] [-s shell] [-f inactive] [-e expire mm/dd/yy] If useradd is the wrong program to use (thats my guess), then the same functionality should (IMHO) be moved to adduser. That way you can configure the user with one program call, and not worry about usermod. In case anyone hasn't already guessed, my system is still slink, so potato may have changed something. -- Brian May <[EMAIL PROTECTED]>
pgp2bBmwyo68w.pgp
Description: PGP signature