LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02: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, 08:04 PM   #2
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Rep: Reputation: 17
do you map shadow over NIS?
 
Old 09-05-2011, 11:11 PM   #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-05-2011 at 11:47 PM.
 
Old 09-05-2011, 11:55 PM   #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, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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
Open Source Consulting | Domain Registration