Hello @Trevor
Create useraccout with useradd command then set the password properties with passwd command.
passwd -n 30 -w 3 –x 90 username
sets the password for user (username) to a minimal usage period of 30 days and an expiry after 90 days, where a warning is generated 3 days before expiry.
Thanks
Hello Gopinath,
Thank you for your response.
Question: Why expiry after 90 days? Why not 30 days?
I get the minimual usage period of 30 days. Why not a
same number for expiry days?
Thanks
A minimum password usage period (like 30 days) and a password expiry period (like 90 days) are often used together to enhance security, but they serve different purposes: the minimum usage period prevents users from immediately changing back to a previously used password, while the expiry period ensures passwords are refreshed periodically..!
Thanks
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.