LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 10-07-2004, 11:36 AM   #1
synthol6
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?

Thanks

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

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

Code:
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 09:58 PM. Reason: found answer
 
  


Reply


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 10:59 AM
How to force user to enter username and password sxcheng Linux - Security 1 02-23-2005 06: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 08:07 AM
Can't change NIS Password lemay_jeff Linux - Networking 1 06-29-2004 03:48 PM
How to change all user password to the same? explorer1979 Linux - General 3 04-09-2003 02:02 PM


All times are GMT -5. The time now is 09:11 AM.

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