1836593 Members
3811 Online
110102 Solutions
New Discussion

password History Depth

 
SOLVED
Go to solution
j773303
Super Advisor

password History Depth

Hi expert,
I've a question about password History Depth, in the normal passwd, is it possible set password History Depth?

note: the system doesn't enable shawdow password or Trusted system.
Hero
7 REPLIES 7
whiteknight
Honored Contributor

Re: password History Depth


hi,

I don't think it is possible.

http://docs.hp.com/en/5992-1933/apas03.html, it is for trusted system.

WK
Problem never ends, you must know how to fix it
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: password History Depth

This is one of those "it depends" situations. For an untrusted (standard) passwd ssystem the answer is "no" as delivered BUT one can always implement a password history by creating a substitute passwd and/or yppasswd command. This was the standard way of making more secure passwords with custom password composition rules before trusted systems were available. If you happened to be running NIS then this was really the only way to do it.
If it ain't broke, I can fix that.
j773303
Super Advisor

Re: password History Depth

Hi Stephenson ,
Can you give me a hint, how to implement it in NIS ? Thanks in advanced
Hero
A. Clay Stephenson
Acclaimed Contributor

Re: password History Depth

If you have to ask, ... then no. You basically have to write it in C or C++. All the versions I have are still considered proprietary. None of it is very difficult and I have even built versions which were Web-based.

The critical function is the yppasswd function which communicates with the yppassdd daemon on the NIS master.

http://docs.hp.com/en/B2355-90695/yppasswd.3N.html
If it ain't broke, I can fix that.
j773303
Super Advisor

Re: password History Depth

Hi expert,
I try to read the doc of yppasswd. But I can't find what I want.

Can show me the passwd history depth setting in yppasswd ? Many thanks.
Hero
Dennis Handly
Acclaimed Contributor

Re: password History Depth

>I try to read the doc of yppasswd. But I can't find what I want. Can show me the passwd history depth setting in yppasswd?

I believe Clay is telling you that you have to invent this all by yourself. You will have to provide a new executable that calls yppasswd(3N) and checks the depth before the call.
j773303
Super Advisor

Re: password History Depth

OK, I understand.
Thanks for all of your advise.
Hero