- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root password locked
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
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
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-08-2010 07:22 AM
тАО07-08-2010 07:22 AM
root password locked
can any one tell me how could i comes such problem where my root password has locked. how can i log in again and resolve the issue!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 07:34 AM
тАО07-08-2010 07:34 AM
Re: root password locked
You should restart the machine on single user mode, and then copy/paste the root on the /etc/passwd line from another machine where you know its root password. Reboot normally and you should be able to log into as root using the password of the machine you copied the line...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 07:38 AM
тАО07-08-2010 07:38 AM
Re: root password locked
You can use the console to login on the system, then use "modprpw -k root" to unlock the root account.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 07:40 AM
тАО07-08-2010 07:40 AM
Re: root password locked
is there any MP console methods to recover the password?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 07:43 AM
тАО07-08-2010 07:43 AM
Re: root password locked
do you have screen shot of such incident so that it will more clarify!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 06:56 PM
тАО07-08-2010 06:56 PM
Re: root password locked
you should allow root to login any number of time on console.
so you can login from root and the unlock the passwd with command
#/usr/lbin/modprpw -k root
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 08:12 PM
тАО07-08-2010 08:12 PM
Re: root password locked
SSH to MP
Type Co for Console
Select your partition
you will be presented with your console login prompt.
Enter the username/pasword and you should be in *If you password is correct*
most importantly, find out why it got locked at first place using getprw root and last/lasb combos, auditing
run modprpw -k root to enable it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2010 11:06 PM
тАО07-08-2010 11:06 PM
Re: root password locked
boot in single-user mode. At this time no password is required and you have access only to limited resources among which the possibility to change the root password with the command:
passwd root
at this point you can enter the new password;
greetings
H.-P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2010 11:36 PM
тАО07-11-2010 11:36 PM
Re: root password locked
boot in to single user mode
if its non trusted sys
1. passwd root
2.Boot the system in to multi user mode.
if its trusted sys
run fsck before mounting
1. mount /usr
2. /usr/lbin/modprpw -k root
3. /usr/sam/lbin/usermod.sam -F -p "" root
4.passwd root
5.Boot the system in to multi user mode
#/usr/lbin/tsconvert -r
#/sbin/passwd root
but make a note
This will expire all other accounts password and /usr/lbin/tsconvert needs to be run again.
regards
MC