Back to Blog
Download 20 length password generate7/7/2023 To view the password age for a user, use the -list option ( -l for short) with the chage command. maxdays 90 -warndays 5 user1 View password age You can set the same configuration for existing users with: $ sudo chage -mindays 7 \ For existing users, you must use the chage command. The following example modifies your policy such that a password expires after 90 days and cannot be changed until it's been active for seven days, and users are notified five days prior to password expiry: PASS_MAX_DAYSę0Ĭhanges made to /etc/fs affect only new users created on the system.
0 Comments
Read More
Leave a Reply. |