- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: getprpw returns no output
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
08-16-2010 11:39 AM
08-16-2010 11:39 AM
Re: getprpw returns no output
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP