Forcing a user changing the password on Linux


When creating a new user, you can use the following command to force a user changing its password on first logon:

# chage -d 0 <username>

Doing this, the user will receive the following message:

Password change requested. Choose a new password. Old Password:

 

  1. No comments yet.
(will not be published)