Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 10-07-2004, 10:36 AM   #1
LQ Newbie
Registered: Jun 2004
Location: London
Posts: 11

Rep: Reputation: 0
How to force a user to change their NIS password at logon?

Hi there

We have setup a NIS domain with a server and a slave, (it works fine)

What happens is when we change a users password on the master, it then gets changed on the slave (which is fine)

We have a standard replacement password to use that the user must change at next logon.

It is policy for the administrators not to know the passwords of the users.

when the user logs back on it does not ask the user to change his/her password.

How do we set this up so that this happens?


Old 08-17-2010, 08:47 PM   #2
Registered: Sep 2003
Location: Fort worth, TX
Distribution: Debian testing 64bit at home, EL5 32/64bit at work.
Posts: 190

Rep: Reputation: 30
I'd like to know the answer to this question. So ... google to the rescue:

chage -d 0 <username>
or edit /etc/shadow and change the 3rd element to 0 (which is what I did).

Last edited by tonyfreeman; 08-17-2010 at 08:58 PM. Reason: found answer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
How to force user to enter username and password sxcheng Linux - Security 1 02-23-2005 05:46 AM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 07:07 AM
Can't change NIS Password lemay_jeff Linux - Networking 1 06-29-2004 02:48 PM
How to change all user password to the same? explorer1979 Linux - General 3 04-09-2003 01:02 PM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration