Operating System - HP-UX
1830831 Members
2745 Online
110017 Solutions
New Discussion

Re: Password expiration report

 
Tony Chiu
Advisor

Password expiration report

Hi,

My users requested to have password expiration report (say, password of user accounts will be expired in 10 days). Any utility to prepare for this kinds of report?

Thanks in advance,
Tony.
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: Password expiration report


You need to write a script based around the getprpw command. This will show you expiration dates for passwords (amongst numerous other things). You need to be running a trusted system for this though.
Im from Palmerston North, New Zealand, but somehow ended up in London...
CHRIS_ANORUO
Honored Contributor

Re: Password expiration report

To setup Trusted System, SAM->Auditing and Security->System Security Policies. This will activate the trusted system installation.
With Trusted system you can specify the passwd notification period.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Marcos Tinoco Garcfa
Occasional Advisor

Re: Password expiration report

Hi Tony:
If you have HP-UX 10.20, you can convert your system in Trusted System with following command:

1.- Run "/usr/lbin/tsconvert
2.- Watch the /etc/passwd and verify that second column(password) has a Metacaracter(asterisk *). This is Trusted System
3.-Now, run "/usr/lbin/modprpw -m expt=10 expwarm=5 user_name
4.- Verify with following "/usr/lbin/getprpw user_name

whit the last, your system will send message before that expired password.

If you want to know more about it, you can write me.
Bye.
Marcos Tinoco Garcfa
Marcos Tinoco Garcfa
Occasional Advisor

Re: Password expiration report

Hi Tony:
If you have HP-UX 10.20, you can convert your system in Trusted System with following command:

1.- Run "/usr/lbin/tsconvert
2.- Watch the /etc/passwd and verify that second column(password) has a Metacaracter(asterisk *). This is Trusted System
3.-Now, run "/usr/lbin/modprpw -m expt=10 expwarm=5 user_name
4.- Verify with following "/usr/lbin/getprpw user_name

whit the last, your system will send message before that expired password.

If you want to know more about it, you can write me.
Bye.
Marcos Tinoco Garcfa
Marcos Tinoco Garcfa
Occasional Advisor

Re: Password expiration report

Hi Tony:
If you have HP-UX 10.20, you can convert your system in Trusted System with following command:

1.- Run "/usr/lbin/tsconvert
2.- Watch the /etc/passwd and verify that second column(password) has a Metacaracter(asterisk *). This is Trusted System
3.-Now, run "/usr/lbin/modprpw -m expt=10 expwarm=5 user_name
4.- Verify with following "/usr/lbin/getprpw user_name

whit the last, your system will send message before that expired password.

If you want to know more about it, you can write me.
Bye.
Marcos Tinoco Garcfa
Marcos Tinoco Garcfa
Occasional Advisor

Re: Password expiration report

Hi Tony:
If you have HP-UX 10.20, you can convert your system in Trusted System with following command:

1.- Run "/usr/lbin/tsconvert
2.- Watch the /etc/passwd and verify that second column(password) has a Metacaracter(asterisk *). This is Trusted System
3.-Now, run "/usr/lbin/modprpw -m expt=10 expwarm=5 user_name
4.- Verify with following "/usr/lbin/getprpw user_name

whit the last, your system will send message before that expired password.

If you want to know more about it, you can write me.
Bye.
Marcos Tinoco Garcfa