5

How to force users to change their password upon first login?

view full story
linux-howto

http://linuxers.org – In this tutorial we will force a new user to change the password upon first login. This is usually used by sysadmins. We will use a linux command 'chage' - which will change user password expiry information. The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her password. First lets start by creating a user "chia" [root]# useradd chia Setup a password for chia [root]# passwd chia Now, we will c (General)