- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't unlock user (Trusted Mode)
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
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
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
07-05-2013 02:03 AM
07-05-2013 02:03 AM
Hi,
I'm getting a really weird behaviour in one of our HPUX 11.23 boxes, with Trusted Mode enabled.
When I want to unlock a user which has been disabled, it seems the modprpw does nothing:
server1@root:>getprpw -l user1
uid=107, bootpw=NO, audid=17, audflg=1, mintm=0, maxpwln=-1, exptm=0, lftm=0, spwchg=Thu Jun 6 11:29:04 2013, upwchg=Thu Jun 6 11:28:52 2013, acctexp=-1, llog=-1, expwarn=0, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Fri Jul 5 10:43:33 2013, ulogint=Fri Jul 5 10:49:36 2013, sloginy=-1, culogin=3, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0001000
server1@root:>modprpw -k user1
server1@root:>getprpw -l user1
uid=107, bootpw=NO, audid=17, audflg=1, mintm=0, maxpwln=-1, exptm=0, lftm=0, spwchg=Thu Jun 6 11:29:04 2013, upwchg=Thu Jun 6 11:28:52 2013, acctexp=-1, llog=-1, expwarn=0, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Fri Jul 5 10:43:33 2013, ulogint=Fri Jul 5 10:49:36 2013, sloginy=-1, culogin=3, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0001000
What could cause this? Things get ever more weird when I make a su - into the user, since it gets enabled:
server1@root:>su - user1
server1@user1:>exit
logout
server1@root:>getprpw -l user1
uid=107, bootpw=NO, audid=17, audflg=1, mintm=0, maxpwln=-1, exptm=0, lftm=0, spwchg=Thu Jun 6 11:29:04 2013, upwchg=Thu Jun 6 11:28:52 2013, acctexp=-1, llog=-1, expwarn=0, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Fri Jul 5 11:01:36 2013, ulogint=Fri Jul 5 10:56:13 2013, sloginy=-1, culogin=-1, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0000000
Any hints?
Solved! Go to Solution.
- Tags:
- modprpw
- trusted mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2013 09:05 AM
07-05-2013 09:05 AM
SolutionAfter you run the 'modprpw' command to reactivate a user, run the command 'echo $?' to see what the return status of the command was. It should be '0' if it is completing normally.
I would also make sure that your 'modprpw' command is correct.
Here is info from one of the 11.23 systems I have access to:
# whence -v modprpw modprpw is /usr/lbin/modprpw # ll /usr/lbin/modprpw -r-xr-xr-x 1 bin bin 49152 Sep 3 2003 /usr/lbin/modprpw # what /usr/lbin/modprpw /usr/lbin/modprpw: $Revision: 92453-07 linker linker crt0.o B.11.16.01 030415 $ $Revision: B11.23_LR Fri Aug 29 21:29:08 PDT 2003 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2013 03:28 PM
07-05-2013 03:28 PM
Re: Can't unlock user (Trusted Mode)
Instructor Storage, Servers, HP-UX and Partner Courses
Hewlett Packard Enterprise Education Services
Ask me about training on StoreServ (3PAR) StoreOnce, StoreEasy, StoreAll, StoreVirtual, HP-UX, ServiceGuard and HPE Partner Ready Certification Training
internet: Linkedin: http://www.linkedin.com/in/emilvelez
HPE Master ASE Server Solutions Architect V3
HPE Master ASE Storage Solutions Architect V2
HP UNIX Certified (ASE HPUX 11iv3 Administration V1)
Certified HPE Instructor
HPE Product Certified - OneView [2016]
HP Sales Certified -Servers, Converged Systems and Services [2015]
HPE Product Certified - Converged Solutions [2017]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2013 01:11 AM
07-08-2013 01:11 AM
Re: Can't unlock user (Trusted Mode)
Thanks to both for your help.
Yeah, there was a problem with the binary /usr/lbin/modprpw indeed, it was zero bytes size and the what command on it didn't show any output, it may have got overwritten somehow.