By default, all the account password expiration in Linux are disabled. There have two method to enable and disable password expiration, one of method by editing /etc/shadow file. Another method is using chage command.
{ 0 comments }
Posts tagged as:
By default, all the account password expiration in Linux are disabled. There have two method to enable and disable password expiration, one of method by editing /etc/shadow file. Another method is using chage command.
{ 0 comments }
Deny user login by /etc/shadow Default, Linux systems use /etc/shadow to store the encrypted user passwords. The quickest way to block a user is to alter is password stored in /etc/shadow. Normally an active user account will have one line in /etc/shadow that will look like: files:$1$x52JQZle$82KTK0hbzozR3BRuwEWLF.:14970:0:99999:7:::
{ 0 comments }