tem to determine when a user must change his/her password.
#chage -d 0 username
Set the number of
By using 0, we will automaticaly expire the passwd, forcing user to change it on first login.
How to force every new user to change password at first login
For this change we need to change the default setting of useradd command.
Look for the line or just append the following line in the file.
Expire=0
No comments:
Post a Comment