I have a cleartext password in my shadow file. Why is this?
I used adduser/moduser to create a test user and here is the entry in etc/shadow:
on 12/06/2009 – Made popular on 12/06/2009
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 a
HelloI could solve the problem, but didn't discovered what caused it.I run and Ubuntu and the SMART tools and badblocks said the disk was fine. Then I run fsck and it said the file /etc/shadow was flagged (or something like that) and that it had a few errors. It suggested a few changes and I applied them.