SUMMARY: NIS and passwd expiry

From: Bibhas Kumar Samanta <>
Date: Thu Jan 02 2003 - 00:44:24 EST
Happy New Year !!

My sincere thanks to  Glass, David <> and
for taking time to respond.

David provided an excellent script which suffices my requirements.
Here is an extract from his mail ..
I have a script which stores an old copy of the encrypted passwords and
does the following:

on the first of the month it checks the current encryptions against last
month's and emails anyone who has not changed their password.

on the seventh of the month it reminds those who still have not changed
their password.

on the fourteenth of the month it locks the account of the stubborn

Andrew suggested to use npasswd, which I am yet to test.

Thanks again,


My Original posting was ..
> Hi Gurus,
> I understand that solaris  NIS  does not support password expiry.
> But I was looking for some scripts/hacks which can help me in doing
> that as there is problem in moving to NIS+ .We are having Nis master
> on Solaris 5.5.1 ,clients are solaris/Linux boxes and  yppasswd is used
> for changing passwd.
> Essentially I am looking for the following
> - auto password expiry after centain interval and prompt for passwd.
> - Notifying users say  before 7 days of expiry.
> - Declining to take used passwds.
> Any help/pointers would be welcome.
> Thanks,
> Bibhas
> _______________________________________________
> sunmanagers mailing list
sunmanagers mailing list
Received on Thu Jan 2 00:55:35 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:01 EST