Passwd NIS expiry

Ravi Channavajhala ravi.channavajhala at dciera.com
Sat Sep 26 12:12:22 UTC 2009


On Sat, Sep 26, 2009 at 3:04 PM,  <nitin.gizare at wipro.com> wrote:
> HI
>
> Thanks for u r comets, these are real issues we are facing.
> I was not lucky enough to get answers by searching in web.
> I am posting with hope I will get some fixes from expert.
>
> Rgds
> Nitin

This is not really that hard.  Here is a script called pwaging

http://srv1.homeunix.com/twiki/bin/view/SunSA/PasswordAgeing

Which is used for passwd expiry in NIS repositories.  However, you
read the script completely and thoroughly before going for
implementation, and you need some serious changes in NIS maps,
including modifying the yp Makefile.   You also need to run this in
batch mode only via cron, no real time update.  The script doesn't
have a man page but really self explanatory.

It is not straight forward but it works, I know it coz I used it and
was happy with it.

On the other hand, why NIS?  If you have AD authentication, simply
integrate the Linux into AD with LDAP and Kerberos.

> From: redhat-sysadmin-list-bounces at redhat.com on behalf of Paul B. Henson
> Sent: Sat 9/26/2009 2:03 PM
> To: redhat-sysadmin-list at redhat.com
> Subject: Re: Passwd NIS expiry
>
> On Sat, 26 Sep 2009 nitin.gizare at wipro.com wrote:
>
>> We have NIS server with RHEL 4.0 and have requirment of implemeting 45
>> days user passwd expiry for NIS account. Please let me know how do this.
>
> I don't mean to be rude, but have you considered hiring a consultant to
> help you out? You've asked a lot of questions recently, most of them pretty
> basic, and almost all of them exactly like this one: no specific problem or
> issue you need help with, but simply a statement of a general goal and a
> desire for someone to tell you how to do it. I'm not the list owner by any
> means, but I don't think it's the intention of this list to provide daily
> support for you to do your job.
>
>
> --
> Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
> Operating Systems and Network Analyst  |  henson at csupomona.edu
> California State Polytechnic University  |  Pomona CA 91768
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>



-- 
Ravi Channavajhala
CTO

DCiEra (Extreme Data Center Efficiency)
Plot #247, Road #78, Ground Floor
Jubilee Hills
Hyderabad 500 034 (AP)
+91 96521 84670




More information about the redhat-sysadmin-list mailing list