- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check status of an user account
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
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
тАО06-30-2009 07:59 PM
тАО06-30-2009 07:59 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 08:20 PM - last edited on тАО01-10-2021 04:20 PM by Ramya_Heera
тАО06-30-2009 08:20 PM - last edited on тАО01-10-2021 04:20 PM by Ramya_Heera
SolutionHi Fizan
The following example reports all abnormal status for all local accounts.
#/usr/sbin/userstat -a
joe nullpw
mary admlock maxtries=5
Check below link in details as follows,
https://internal.support.hpe.com/hpesc/public/home
If helps, pls assign point.
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 09:59 PM
тАО06-30-2009 09:59 PM
Re: how to check status of an user account
Check a user's password status
#passwd -s user1
Check the status of all users
#passwd -sa
If you are looking for user's information then use the below command
#finger user1
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 11:45 PM
тАО06-30-2009 11:45 PM
Re: how to check status of an user account
#passwd -s
If this returns the staus as LK means it is locked. Other possiblities are,
PS=Passworded
NP=no password
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 06:23 AM
тАО07-01-2009 06:23 AM
Re: how to check status of an user account
use the ├в a and ├в s options. Thus who is locked or PS (PS means normal pwd account)
passwd -as
OR for release HP UX 11iv3
userstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 11:22 AM
тАО07-01-2009 11:22 AM
Re: how to check status of an user account
If the server is not trusted, then following command will help.
passwd -s
LK shows the account is locked.
If it is trusted, then
/usr/lbin/getprpw
and check for lockout parmater. it should not contain any 1 digit in its value. those all should be 0s.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 07:53 PM
тАО07-01-2009 07:53 PM
Re: how to check status of an user account
use below command:
#/usr/lbin/getprpw -l
getprpw is for getting present password status of the user , if you would like to modfify any of the parameter in getprpw use below command:
#/usr/lbin/modprpw -m
Regards,
Vijay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2009 10:15 AM
тАО07-02-2009 10:15 AM
Re: how to check status of an user account
I dont find /usr/sbin/userstat on any of our 11.23 machines. Do you know how it gets installed?
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2009 10:25 AM
тАО07-02-2009 10:25 AM
Re: how to check status of an user account
> Scott: I dont find /usr/sbin/userstat on any of our 11.23 machines.
It's documented in the December 2007 11.23 manpages but not in the original September 2004 ones. This leads me to believe that your installations were made with early OE media and have not been updated to the more/most current versions.
Regards!
...JRF...