- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: getprpw returns no output
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
тАО08-16-2010 05:24 AM
тАО08-16-2010 05:24 AM
getprpw returns no output
I have a strange occurrance! On one of my HPUX 11.11 systems when I issue /usr/lbin/getprpw -l username I only get the command prompt returned. On my other systems I get the full output of the users definitions.
Some history, it worked until a user account was locked and the password expired. the getprpw showed lockout=0010001. I used /usr/lbin/modprpw -k username, but lockout would not reset to zero. I tried 'reactivate' through sam, which said it executed successfully, but the user stayed in the deactivated state. Then after reading some blogs I tried /usr/lbin/modprpw -e username. The account did not reactivate, and now the getprpw does not return output for any username.
All the user accounts are fine. The /tcb/files/auth directory exists and has all the correct entries. And pwck command output is valid. I deleted and re-added the original problem user and he can now log in successfully..
Any idea why the getprpw id behaving this way?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 05:53 AM
тАО08-16-2010 05:53 AM
Re: getprpw returns no output
Did you check the system logs ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 06:37 AM
тАО08-16-2010 06:37 AM
Re: getprpw returns no output
"Problem is for a specific user? did you try another user?"
This getprpw does not return output for any user tried.
Did you check the system logs?
There are no error messaages in the syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 11:31 AM
тАО08-16-2010 11:31 AM
Re: getprpw returns no output
I have captured the return value for the command -
# /usr/lbin/getprpw -l username
# echo $?
126
I am not sure what this return value means, but on my working systems the value is zero.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 11:38 AM
тАО08-16-2010 11:38 AM
Re: getprpw returns no output
I have no idea how they became corrupted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 11:39 AM
тАО08-16-2010 11:39 AM