HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password aging policies
Operating System - HP-UX
1833631
Members
3373
Online
110062
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-17-2008 10:14 AM
11-17-2008 10:14 AM
Password aging policies
Hi,
Need to know the commands to check the password aging policies for all the users in trusted and non-trusted environment in hp-ux.
please provide the exact commands to check.
regards
raj
Need to know the commands to check the password aging policies for all the users in trusted and non-trusted environment in hp-ux.
please provide the exact commands to check.
regards
raj
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:00 AM
11-17-2008 11:00 AM
Re: Password aging policies
For non-trusted environment, the command is:
/bin/passwd -s $USERNAME
$USERNAM PS 09/02/08 21 91 7
in it, the date is the time the password was modified. nd 91 is the expiring days, 7 and 21 are for minimum password change days and warning days. (forget which one is for which one)
For trusted servers, it is defined in file /etc/default/security
PASSWORD_HISTORY_DEPTH=10
NUMBER_OF_LOGINS_ALLOWED=0
MIN_PASSWORD_LENGTH=8
PASSWORD_MINDAYS=7
PASSWORD_MAXDAYS=90
PASSWORD_WARNDAYS=21
/bin/passwd -s $USERNAME
$USERNAM PS 09/02/08 21 91 7
in it, the date is the time the password was modified. nd 91 is the expiring days, 7 and 21 are for minimum password change days and warning days. (forget which one is for which one)
For trusted servers, it is defined in file /etc/default/security
PASSWORD_HISTORY_DEPTH=10
NUMBER_OF_LOGINS_ALLOWED=0
MIN_PASSWORD_LENGTH=8
PASSWORD_MINDAYS=7
PASSWORD_MAXDAYS=90
PASSWORD_WARNDAYS=21
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:06 AM
11-17-2008 11:06 AM
Re: Password aging policies
Hi,
How to get the list of users whose password aging is disabled in trusted and non-trusted system using script.
Thanks in Advance
How to get the list of users whose password aging is disabled in trusted and non-trusted system using script.
Thanks in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:14 AM
11-17-2008 11:14 AM
Re: Password aging policies
Only know about non-trusted system. Where there is no number after it, then it means password aging is disabled.
$USER PS
$USER PS
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP