- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- how to check status of an user account
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
how to check status of an user account
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-30-2009 07:59 PM
06-30-2009 07:59 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-30-2009 08:20 PM
06-30-2009 08:20 PM
SolutionThe 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,
http://docs.hp.com/en/B3921-60631/userstat.1M.html
If helps, pls assign point.
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-30-2009 09:59 PM
06-30-2009 09:59 PM
Re: how to check status of an user account
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-30-2009 11:45 PM
06-30-2009 11:45 PM
Re: how to check status of an user account
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-01-2009 06:23 AM
07-01-2009 06:23 AM
Re: how to check status of an user account
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-01-2009 11:22 AM
07-01-2009 11:22 AM
Re: how to check status of an user account
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-01-2009 07:53 PM
07-01-2009 07:53 PM
Re: how to check status of an user account
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2009 10:15 AM
07-02-2009 10:15 AM
Re: how to check status of an user account
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2009 10:25 AM
07-02-2009 10:25 AM
Re: how to check status of an user account
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...
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP