[Centos] adduser ?
mh at accelance.fr
Tue Oct 26 08:04:22 UTC 2004
On Tue, 26 Oct 2004 09:43:15 +0200 (CEST)
"Ulrik S. Kofod" <usk at cybersite.dk> disait:
> I installed CentOS 3.3 some time ago and the first thing I did after
> the install was to run a little script that adds my user plus a few
> other things.
> The script adds my user like this
> /usr/sbin/adduser $USER -p $PASSWD
> It seemed to work fine except I couldn't login? I searched Google for
> reasons why I could only login via ssh as root and was about to send a
> long mail to this list, when I decided to change the password and try
> to login again, and this time it worked?
> Doesn't the -p option work on adduser anymore? It did on my redhat9
> where I used the same script and the -p option is still on the man
> page for adduser.
> I noticed that the same option for smbpasswd had been removed but
> adduser didn't complain.
> Just curious why :)
The encrypted password, as returned by crypt(3). The
default is to disable the account.
Here it is your answer ! ;)
More information about the CentOS