Operating System - HP-UX
1849383 Members
5419 Online
104044 Solutions
New Discussion

SET PASSWORD OPTIONS ON NIS PASSWD (yellow page)

 
SOLVED
Go to solution
parolin franco
Advisor

SET PASSWORD OPTIONS ON NIS PASSWD (yellow page)

I need information about set password option "max & min time or warning Time ".
I want to set this option in a server whith hpux11.00 whith NIS configurated.
3 REPLIES 3
K.Vijayaragavan.
Respected Contributor

Re: SET PASSWORD OPTIONS ON NIS PASSWD (yellow page)

Hi,

I think you trying to set the system security policy if so , it is possible only in a tarusted system.

But trusted system will not work with NIS but works with NIS+.

-Vijay
"Let us fine tune our knowledge together"
John Carr_2
Honored Contributor

Re: SET PASSWORD OPTIONS ON NIS PASSWD (yellow page)

Hi

I dont think NIS supports the standard passwd options for min and max time ( -n -x ). You will have to update to NIS+ to achieve this.

good luck
John Carr.
Heiner E. Lennackers
Respected Contributor
Solution

Re: SET PASSWORD OPTIONS ON NIS PASSWD (yellow page)

You can setup password aging with NIS, but the min and max time can only set in weeks, and there is no warning time.

For example:

user:password,MmNN:uid:gid:gecos:path:shell
M=max (.=0,/=1,0=2,9=11,A=12,Z=37,a=38,z=63)
n=min
NN=time password was changed last time

man 4 passwd

should give you enough information to build it, but a warning mechanism has to be implemented manually by yourself.

And not all vendors accept this style of password aging.
e.g. Solaris(sun) works fine, but IRIX(sgi) ignores is completely.

Heiner
if this makes any sense to you, you have a BIG problem