Linux: How to Force Users to Change Password at First Login

So,how do you, as a Linux System Administrator, force system users to change their passwords at first or next login? Very simple:

Using chage command:

If the password is already set, execute this command to expire the user account:

chage -d 0 user1

On the user’s next login, password change will be enforced.

Very simple.

Popularity: 1% [?]

Most Popular Posts

You can leave a response, or trackback from your own site.

2 Responses to “Linux: How to Force Users to Change Password at First Login”

  1. toff Ubuntu Linux Mozilla Firefox 3.0.14 says:

    unfortunatly , it doesn’t work with ldap+gdm session
    I mean like MS domain session opening with passord changing forced

  2. Bhupsa Windows XP Internet Explorer 6.0 says:

    # passwd -f

Leave a Reply

CommentLuv Enabled
New Blackberry phones on sale | Thanks to Business Opportunity, Highest CD Rates and Registry Software