- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAM error with account security policies
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
Forums
Discussions
Discussions
Discussions
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
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
05-25-2007 02:02 AM
05-25-2007 02:02 AM
The Modify User's Security Policies screen pops up and then immediately an Error screen with the following:
There was an unknown error in "/usr/lbin/getprpw". The output from the this command was:
Next it appears to go through all the system's users with the following line for each
/usr/lbin/getprpw: username: not found.
Just before it outputs the last user, I get:
sshd re-exec requires execution with an absolute path
Finally at the end I get
Failed to read protected password database for user "selectedusername".
I am running 11i trusted pretty well patched. HP initially had me untrust and retrust with no luck. Next I added to patches, PHCO_35520 and PHCO_35732 with no luck. Has anyone seen anything similar to this before? Any suggestions?
Thanks for all responses.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:12 AM
05-25-2007 02:12 AM
Re: SAM error with account security policies
What if you run this command manually?
/usr/lbin/getprpw username
/etc/passwd file look good if you cat it?
does pwck turn up any errors?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:13 AM
05-25-2007 02:13 AM
Re: SAM error with account security policies
# /usr/lbin/getprpw root
Do you still get the error?
I would also try running 'pwck' and 'pwck -s' to check /etc/passwd and the /tcb structures.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:38 AM
05-25-2007 02:38 AM
Re: SAM error with account security policies
Running command line does reveal something interesting which I shared with HP but no one seemed to pay any attention to it. I get the same errors but at the end I get:
sshd re-exec requires execution with an absolute path
usage: tftp [options] [host-name] [port]
tftp>
It leaves me in the tftp prompt.
pwck -s comes back with login directories not found for some system related accounts but that is about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:44 AM
05-25-2007 02:44 AM
Re: SAM error with account security policies
Is this a pure trusted system? Are you using anything like NIS+, LDAP, or any other similar mechanism?
What does your /etc/nsswitch.conf file look like? Do you have a line like "passwd: files" in it? If so, is it just "passwd: files" or is there anything else? Make sure you do NOT have "passwd: compat" as they is really only useful with NIS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:47 AM
05-25-2007 02:47 AM
Re: SAM error with account security policies
What does 'll /usr/lbin/getprpw' look like? What about 'what /usr/lbin/getprpw'?
Here is the output for 2 of my machines.
HP-UX 11.0:
# ll /usr/lbin/getprpw
-r-xr-xr-x 1 bin bin 24576 Oct 27 1997 /usr/lbin/getprpw*
# what /usr/lbin/getprpw
/usr/lbin/getprpw:
$Revision: 80.3 $
HP-UX 11.11:
# ll /usr/lbin/getprpw
-r-xr-xr-x 1 bin bin 20480 Nov 14 2000 /usr/lbin/getprpw*
# what /usr/lbin/getprpw
/usr/lbin/getprpw:
$Revision: B.11.11_LR
Wed Nov 8 19:52:26 PST 2000 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:47 AM
05-25-2007 02:47 AM
Re: SAM error with account security policies
There were quite a few hits for your message you have searching on google for example. They are for other flavors of unix. But might shed some light on what your looking for.
But still doesn't make sense why it would be using tftp or ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 03:07 AM
05-25-2007 03:07 AM
Re: SAM error with account security policies
nsswitch.conf
passwd: files
group: files
#hosts: files
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=]
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
root@node$ ll /usr/lbin/getprpw
-r-xr-xr-x 1 bin bin 513 May 4 10:15 /usr/lbin/getprpw
root@node$ what /usr/lbin/getprpw
/usr/lbin/getprpw:
The revision information does not show up for me. It is odd that the date is May 4. I will follow up on that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 03:13 AM
05-25-2007 03:13 AM
Re: SAM error with account security policies
Can you more getprpw? Any chance someone redirected something or overwrote your file with something related to tftp or ssh?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 03:13 AM
05-25-2007 03:13 AM
SolutionIt's size is only 513 bytes. That is way too small. If you do a 'file getprpw' I bet it will say some sort of 'text' file. If you do a 'cat /usr/lbin/getprpw' then I bet it is some sort of script.
Do you have any other admins with root access? I would question them about what they did and why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 03:19 AM
05-25-2007 03:19 AM
Re: SAM error with account security policies
When I logged in to my other box that does not have the problem I get
getprpw: PA-RISC1.1 shared executable dynamically linked
-r-xr-xr-x 1 bin bin 20480 Nov 14 2000 getprpw
There is no one else with access to root except me. I am going to copy the one from the other system and see if that fixes it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 03:25 AM
05-25-2007 03:25 AM
Re: SAM error with account security policies
I was able to resolve this by copying the executable from a system that was working correctly. How this occurred is another issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 03:28 AM
05-25-2007 03:28 AM