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. |
do you map shadow over NIS?
|
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 |
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. |
Ok. so we can't do it.
But your second option is also a solution.. but key hole remain the same. Thanks |
All times are GMT -5. The time now is 02:12 PM. |