[ale] Modifying Password from USERMOD command!
Zhongbin Yu " <zyu at tc.net>
Zhongbin Yu " <zyu at tc.net>
Thu May 27 13:36:44 EDT 1999
password should be encrypted no matter in /etc/shadow or in /etc/passwd
as in traditional UNIX system. The purpose of shadow is to put
the encryped passwd entry in /etc/passwd into a highly-privileged location
no accessible to layman.
Even without shadow, the entry in /etc/passwd should be encrpyted.
something wrong with your usermod, or something in that line. OS, arch,
version of program will help other resourceful people on this list to
further debug it for you.
2c.
Jerry Yu
----------------------------------------------------------------------------
Systems Engineer | zyu at tc.net
Premiere Technologies | 404-262-8544(O) 1-800-979-1105 (P)
Atlanta, GA 30326 | ae.tc.net/dept/engineering/op/public/developer/zyu
On Thu, 27 May 1999, Bhaskar Kumar Regmi wrote:
#
#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