I have a bunch of new users to deploy on our system, and as a part of the initial login I want to give them an opportunity to reset their password. How can I best do this so that we don't have to instruct them specifically to do so?
I have a bunch of new users to deploy on our system, and as a part of the initial login I want to give them an opportunity to reset their password. How can I best do this so that we don't have to instruct them specifically to do so?
How many users? Where are the passwords stored? How are the passwords distributed?
If you're just creating them in /etc/passwd you can use
passwd --expire
.You could use chage to set a users account so it will expire. I haven't tested but gdm is supposed to notify the user to change their password.
looking to man page of chage - change user password expiry information it has example!