Operating System - HP-UX
1832204 Members
2515 Online
110039 Solutions
New Discussion

/etc/default/security file

 
brian_31
Super Advisor

/etc/default/security file

Hi

Suppose i create /etc/default/security file in a nis environment. Will it support the PASSWORD_HISTORY_DEPTH value of more than 2.
Please advise.

Thanks
Brian.
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: /etc/default/security file

Yes, /etc/default/security with the PASSWORD_HISTORY_DEPTH=? will support up to 10. Check the man page for security (man security) for more information.
harry d brown jr
Honored Contributor

Re: /etc/default/security file

Sure thing! Otherwise NIS would be worthless.

live free or die
harry
Live Free or Die
brian_31
Super Advisor

Re: /etc/default/security file

Thanks folks. But is there a workaround for passwd aging?

Thanks
Brian
Patrick Wallek
Honored Contributor

Re: /etc/default/security file

Oops!!!! I just read your question more closely and noticed you are in an NIS environment.

PASSWORD_HISTORY_DEPTH will NOT work with NIS.

From the security man page:

"This feature does not support the users in NIS or NISPLUS repositories."

Sorry for the first bogus response!!!

I don't quite understand your question for password aging. Can you explain further?
Craig Rants
Honored Contributor

Re: /etc/default/security file

Brian,
Are you using the Trusted Computing Base, remember that only NIS+ works with the TCB. If you want to disable password aging and use NIS make sure your system is not running in the trusted mode.

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
brian_31
Super Advisor

Re: /etc/default/security file

Hello Folks:

I am confused now. Regarding the passwd aging(it is not possible in NIS) is there a way around?
brian_31
Super Advisor

Re: /etc/default/security file

Hi All

I am using NIS. I wanted to know if it supports /etc/default/security file so that i could set the PASSWORD_HISTORY_DEPTH. In addition since NIS does not support passwd aging i wanted to know if there was a work around.
Thanks
Brian
Patrick Wallek
Honored Contributor

Re: /etc/default/security file

According to 'man security' it does NOT support PASSWORD_HISTORY_DEPTH for NIS or NIS+ users.

There is no mention of password aging in the security man page.man