[Centos] adduser ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

USER="ulrik"
PASSWD="<mypasswd>"
/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 :)
Ulrik



-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux