LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-05-2011, 03:43 AM   #1
anujkaushal
LQ Newbie
 
Registered: Sep 2011
Posts: 17

Rep: Reputation: Disabled
NIS server:- how to set user must change his passwd on first login form client


# i have configure NIS serveron RHEL 5.5
# it is runing good but when i set a user to change his passwd on first login it did not work
what i do is
[root@localhost ~]# chage -d 0 user1

It is working fine when login through server side but when login through client side it is not working.The system is not prompting for password change

What is the solution.
 
Old 09-05-2011, 09:04 PM   #2
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Rep: Reputation: 17
do you map shadow over NIS?
 
Old 09-06-2011, 12:11 AM   #3
anujkaushal
LQ Newbie
 
Registered: Sep 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
i haven't map the shadow nor i know completly about it.
I can change the password and implement them for all users over nis network. But i can not recommend the usres to change their password at first login.
I found i have not "rc.conf" file in my "/etc" directory. Is it is a problem
I need help about it and the solution

Last edited by anujkaushal; 09-06-2011 at 12:47 AM.
 
Old 09-06-2011, 12:55 AM   #4
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Rep: Reputation: 17
i did some experimenting and some digging.

The official word from the unix masters is NIS does not support password expiration. There is some talk that NIS+ does, but I have zero experience with that.

The best solution I found was a cron job perl script running on the NIS master that scans the shadow file, calculates when the password will expire, shoots an email to users a few days in advance and then disables the account if the password expires.
 
Old 09-07-2011, 02:11 AM   #5
anujkaushal
LQ Newbie
 
Registered: Sep 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
Ok. so we can't do it.
But your second option is also a solution.. but key hole remain the same.
Thanks
 
  


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
Cant Change NIS Passwd From client Ashish Sood Linux - General 2 06-02-2010 04:24 PM
Can't change NIs passwd at client end wanch Linux - Networking 3 04-30-2010 05:57 AM
Unable to login to NIS client machine(Ubuntu) using NIS login user name crazymoonboy Linux - Server 7 11-27-2009 03:29 AM
NIS Client can not login to NIS Master Server Free_beer Ubuntu 3 10-09-2006 03:57 PM
NIS prob: added user to server, but can't login to client BrianK Linux - General 3 10-06-2004 05:29 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
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