//
you're reading...
Linux

Forcing user to re-set the password after the first login (SLES11)

Login to the Linux Server as root or super users

lxtest01:~ # passwd testuser
lxtest01:~ # usermod -L testuser
lxtest01:~ # chage -d 0 testuser

Open another terminal screen and try to login with the login name and old password

The Linux now will ask the user to change the password after the old password has been entered correctly.

Advertisements

About daviewning

I am an Oracle DBA

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: