[ale] Modifying Password from USERMOD command!

Bhaskar Kumar Regmi bhaskar at ait.ac.th
Thu May 27 12:57:30 EDT 1999


When I try to modify user's info into passwd(shadow) file using
USERMOD(same for USERADD aslo) command, everything goes fine but password
is not encrypted. It stores the password exactly what I supply with -p
option. So using -p option seems useless. Command I issued is as follows:

%usermod -c "Test User for Few days" -p secretpwd testuser

/etc/shadow file entry is like this:

testuser:secretpwd:10738:0:99999:7::10748:136851236

How can i get the password encrypted in shadow file? 

*************************************************************
* Bhaskar Kumar Regmi		Email: 	bhaskar at ait.ac.th   *
* Regional Computer Center	Tel:	(66)(2)5248241(Res.)*	 	       
* AIT, PO BOX 4, Klong Luang		5245336 (Office)    *
* Pathumthani 12120, Thailand	Fax:	(66)(2)5162120      *
*************************************************************






More information about the Ale mailing list