- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unlock root account hp ux
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
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
тАО12-17-2008 08:48 PM
тАО12-17-2008 08:48 PM
this morning i execute passwd -l command and lost my root session..
and now i can`t login to root account..
can some one help me to unlock that account??
best regard.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 08:53 PM
тАО12-17-2008 08:53 PM
Solutionif ur system in trusted mode then use
#modprpw -k root
-k To unlock/enable a user's account that has become disabled,
except when the lock is due to a missing password or * password.
Regards
Prashnat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 08:55 PM
тАО12-17-2008 08:55 PM
Re: Unlock root account hp ux
You can check ur system is in trusted mode or not by using
#cat /etc/passwd | awk -F: '{print $2}'
the output of the above command will be * only.
Regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 08:57 PM
тАО12-17-2008 08:57 PM
Re: Unlock root account hp ux
but i have lost my root session and can`t get login in to that account..
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:04 PM
тАО12-17-2008 09:04 PM
Re: Unlock root account hp ux
FOR PA Servers.
1--> reboot
2--> stop the boot sequence and go to the isl prompt.
3--> run hpux -is
4--> reset the password
=========================================
Boot the system in single user mode. you will get the BCH prompt
> boot pri
You will get ISL prompt
interact with ISL (Y/N): Y (type y)
ISL>
Type hpux -is
This will land you to # this prompt
then mount the /usr,/var,/temp
after mounting it use the
#modprpw -k root
But if its a production system then there will be a problem for down time.
Regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:05 PM
тАО12-17-2008 09:05 PM
Re: Unlock root account hp ux
In Trusted Machine,Since you have activated your root account using modprpw , normally it should able to login.
Try logging from the console/MP.
use getprpw -l
to list the password database.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:20 PM
тАО12-17-2008 09:20 PM
Re: Unlock root account hp ux
can you give me step by step to log into single user mode..
really great appreciate for all of your answer..
thank's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:21 PM
тАО12-17-2008 09:21 PM
Re: Unlock root account hp ux
1.Did you tried with console if not then try from console.
2.Do you have any root equvalent user then try to login with that user and change/reset the passwd.
3.If your system is having cluster then might be you can login from other node via remsh without passwd try this also.
or
Else you have to take your system into single user and select recovery system
From there you can reset your root passwd.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:45 PM
тАО12-17-2008 09:45 PM
Re: Unlock root account hp ux
Reboot the machine
Interrupt the boot sequence
>bo Pri
>Interact with IPL : Y
>HPUX -is (at boot prompt)
gets logged in , try change the passwd.
reboot again or, go to multiuser mode and continue the work.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:48 PM
тАО12-17-2008 09:48 PM
Re: Unlock root account hp ux
If you feel diffcult , please go thru the document.
http://docs.hp.com/en/B2355-90950/ch05s01.html#aes-npar-329b.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 01:33 AM
тАО12-18-2008 01:33 AM
Re: Unlock root account hp ux
Since you cannot login, only way is reset the password in single user mode. Normally it will not ask the root password when you boot into single user mode unless or until you have configured to ask the password in trusted mode configurations. Normally people won't do that.
Since you cannot login, power recycle the box first. On the console, interrupt the auto boot sequence when it ask you press any key. It will take you to BCH menu.
On BCH menu> bo pri
Interact with IPL? give "Y"
It will take you to ISL prompt. On ISL prompt type the below command.
ISL>hpux -is
Now system will boot into single user mode. You can reset the root password using "passwd" command.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 02:23 AM
тАО12-18-2008 02:23 AM
Re: Unlock root account hp ux
restart the server, login into single mode user. than reset password use passwd command.
i can`t use modprpw command.
But change the password will unlock your root account.
thank`s for all replies.
regard.