2

script to set the password from *LK* to *NP*

view story
linux-howto

http://www.unix.com – okay here I go again... I have created a script which adds new user to /etc/password and which inturn creating a locked password in /etc/shadow but I am expecting to have *NP* for that particular user.Can someone help me with a script which can set the password for a particular user to NP in /etc/shadow..Thanks ---------- Post updated 07-31-12 at 01:11 AM ---------- Previous update was 07-30-12 at 04:33 PM ---------- Finally I found out how to change it Just need to use this command after the useradd Passwd -N user which will set NP in your /etc/shadow (HowTos)