- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Password Aging
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2011 08:50 PM
тАО05-15-2011 08:50 PM
Solved! Go to Solution.
- Tags:
- Password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 01:48 AM
тАО05-16-2011 01:48 AM
Solution# usermod -e mm/dd/yy username
-e used to change the user expiration date
-e will only work if you have shadow file
for password aging
# passwd -n 7 -x 70 -w 14 username
-n user cannot change his password after this defined period
-x password expire after this period
-w warning period
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 05:35 AM - last edited on тАО08-08-2011 02:35 PM by Kevin_Paul
тАО05-16-2011 05:35 AM - last edited on тАО08-08-2011 02:35 PM by Kevin_Paul
Re: Password Aging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 08:58 AM - last edited on тАО07-07-2011 01:17 PM by Kevin_Paul
тАО05-16-2011 08:58 AM - last edited on тАО07-07-2011 01:17 PM by Kevin_Paul
Re: Password Aging
This should have all info you need:
http://h30499.www3.hp.com/t5/Security/Passwords-non-expiring/m-p/2889759#M5053
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 11:29 PM
тАО05-16-2011 11:29 PM
Re: Password Aging
# passwd denee
Changing password for denee
New password:
Re-enter new password:
Passwd successfully changed
# logins -x -l denee
denee 120 users 20 ,,,
/home/denee
/usr/bin/sh
PS 000000 -1 -1 -1
password aging is disabled now in untrusted system.
just add user can change the password after 7 days :
# passwd -n 1 denee
# logins -x -l denee
denee 120 users 20 ,,,
/home/denee
/usr/bin/sh
PS 051211 7 0 -1
aware of that you can see the date modified only if you put this option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2011 02:31 AM
тАО05-22-2011 02:31 AM
Re: Password Aging
If not, you only have granularity in terms of weeks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2011 11:27 AM
тАО05-22-2011 11:27 AM
Re: Password Aging
Rememember you have to be in shadow mode for this and it requires the execution of pwconv if you are in standard passwd mode. As mentioned just specify the expiry date.
Regards
Ismail Azad