Wednesday, 16 November 2016

login to root
cd /sbin
ls pam_tally*
pam_tally2 --user=inapaks --reset
faillog -r <username>
chage -l <username> 
passwd <username>

# passwd -S user1
user1 LK 2014-08-17 0 99999 7 -1 (Password locked.)# passwd -S user1
user1 PS 2014-08-17 0 99999 7 -1 (Password set, SHA512 crypt.)

No comments:

Post a Comment