Tuesday, February 18, 2020

Enable non-expiring password for Linux Users



When you need to set users for non-expiring password accounts.  Here are the basic steps.

passwd ; pam_tally2 -u -r (reset:  this resets the login failures); faillock --user --reset 

chage -d 0

Non-expiring.

 chage -I -1 -m 0 -M 99999 -E -1 adb-dev


chage -I -1 -m 0 -M 99999 -E -1 adb-d

No comments:

Post a Comment