Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make passwords expire?

Status
Not open for further replies.

penguin1

IS-IT--Management
Mar 5, 2001
15
US
We have an application running on our HP 9000 UNIX server. Users just click on an icon in Windows and it gives them a login prompt that I believe is a login to the UNIX box, but then launches the application once the login is correct. I would like to have user's passwords expire after a certain amount of days. How can I do this? The application is ROI/Manage 2000.
 
One way to do this would be to turn your system into a Trusted System. This can also enable password generators, system auditing and a lot of other security features. To enable this go through SAM to Auditing and Security and select Audited Users. The system will then prompt you to change to a trusted system. I did this once on HPUX 10.20 and it was not that painful.

There may be other ways to do this also, but am not sure.

-Bob
 
Hi

You can do this on a per user basis, by editing the password file and using password aging.
At the end of the encrypted password string, add the following

,xy

where x is the number of weeks the password is valid, and y is the min number of weeks that must pass before the password can be changed.

There is a table which defines their values, this is

Value No of weeks
. 0
/ 1
0-9 2-11
A-Z 12-37
a-z 38-63

When you add a user in SAM, you can setup password aging under Password Options, I am not sure without checking whether you can do this in modification on an existing user.

Hope this helps
Queenie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top