Account security

# chage -l user01


Last password modification time: January 11, 2021
Password expiration time: Never
Password expiration time: Never
Account expiration time: Never
Minimum number of days
between two password changes : 0 Maximum time between two password changes Number of days: 99999
Number of days to be warned before password expiration: 7

# chage -d 0 user01 #Request to change the password immediately after logging in

 

 

/etc/login.defs

 

 

 


 

Guess you like

Origin blog.csdn.net/David_ifx/article/details/113930998
Recommended