Archive for the ‘User admin’ Category

Force user to change password

April 7th, 2009 No comments
Print Friendly, PDF & Email

User is calling and say that he forgot is password. So you need to change his password and for security reason you want to force him to change it upon his first login. The command “chage -d 0” (change aging) will force user to change his password upon first login.

Change his password

   # passwd josblow

Set expiration date to 0

   # chage -d 0

Categories: User admin