HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Check user with no password aging
Operating System - HP-UX
1834789
Members
2986
Online
110070
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
09-08-2003 03:26 AM
09-08-2003 03:26 AM
Check user with no password aging
Hello everybody
I would like to know if anyone of you know how can I check all users with no password aging in a system.
Thanks in advanced
SN
I would like to know if anyone of you know how can I check all users with no password aging in a system.
Thanks in advanced
SN
System administrator
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 03:29 AM
09-08-2003 03:29 AM
Re: Check user with no password aging
A good start would be the passwd -sa command.
This produces a report with dates and you can use grep or awk to parse the output and list only those users that have not changed their passwords or do not have aging.
passwd -sa
SEP
This produces a report with dates and you can use grep or awk to parse the output and list only those users that have not changed their passwords or do not have aging.
passwd -sa
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 03:38 AM
09-08-2003 03:38 AM
Re: Check user with no password aging
Hi,
Maybe the command "logins -x" can help you.
Do a "man logins" for detailed info.
Hope this helps.
Kind regards,
Zigor
Maybe the command "logins -x" can help you.
Do a "man logins" for detailed info.
Hope this helps.
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 12:45 AM
09-09-2003 12:45 AM
Re: Check user with no password aging
Hi SN,
Please find attached is a script i created to get the password aging information for each user in a particular server.
the command that should be used is
/usr/lbin/getprpw -m mintm,exptm,expwarn,lftm
mintm = minimum time between password changes
exptm = password expiration time
expwarn = password expiration warning time
lftm = password lifetime
If all the values = 0 like below
mintm=0, exptm=0, expwarn=0, lftm=0
then the user does not have a password aging, the aging has been disabled...
I hope this helps
Regards
Please find attached is a script i created to get the password aging information for each user in a particular server.
the command that should be used is
/usr/lbin/getprpw -m mintm,exptm,expwarn,lftm
mintm = minimum time between password changes
exptm = password expiration time
expwarn = password expiration warning time
lftm = password lifetime
If all the values = 0 like below
mintm=0, exptm=0, expwarn=0, lftm=0
then the user does not have a password aging, the aging has been disabled...
I hope this helps
Regards
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