Operating System - HP-UX
1754383 Members
3294 Online
108813 Solutions
New Discussion

HP-UX script having issues

 
Sri123
Advisor

HP-UX script having issues

Hi,

Attached is a HP-UX script that i created for password expiry notification.

The problem with this script is that it works only when i change password aging policy from Default (enable) to enable in the SAM Menu "Modify Security Policies", and when i set the policy manually.

It doesn't work with the Default (enable) as expected.

What could be the problem. Kindly help!!

OS ver : HP-UX 11.31

Let me know if any further details are required.



Thanks in Advance!
Sridhar
1 REPLY 1
James R. Ferguson
Acclaimed Contributor

Re: HP-UX script having issues

Hi:

> It doesn't work with the Default (enable) as expected.

That doesn't provide any useful information relative to the script's output.

The Trusted Computing Base (TCB) model is deprecated at 11.31. Have a look at the 'prpwd(4)' manpages.

The manpages for 'getprpw' note that "This command is intended for SAM use only. It may change with each release and can not be guaranteed to be backward compatible."

Regards!

...JRF...