1837450 Members
3677 Online
110117 Solutions
New Discussion

Re: passwd

 
SOLVED
Go to solution
Tim O'Connell
Regular Advisor

passwd

There was a command in Unixware - passwd -s username - which returned max,min & ward. Running it on HPUX11 it just returns username PS. Is there a way of getting the passwords attributes for a user. I can do it thru' SAM but am looking for a way to return the attributes.

Thanks,

Tim
3 REPLIES 3
Jeff Schussele
Honored Contributor
Solution

Re: passwd

Hi Tim,

If you're running in Trusted mode, the command would be getprpw.
Man getprpw for details.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: passwd

And if you're not, that return indicates that you have not implemented password aging.
passwd -s user_name IS supported, but you must implement aging.

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Tim O'Connell
Regular Advisor

Re: passwd

Thanks, Jeff

getprpw did the biz. Points assigned.