Saturday, May 23, 2015

User password reset

Check users failed attempts.
# pam_tally2 --user=sam
Reset the failed counter.
# pam_tally2 --user=sam --reset
Display account status
# passwd -S sam
Test if your syslog is working.
# logger  -p user.notice "Testing to see if it send message to /var/log/messages"

No comments:

Post a Comment