- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root account disabled
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
12-07-2004 11:01 AM
12-07-2004 11:01 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 11:14 AM
12-07-2004 11:14 AM
Solutionlog on as root
If you have the password, that alone will reset the disabled root account. If you don't know the password proceed further.
Boot the system
interupt at the 10 second prompt.
bo
Answer Y
hpux -is
mount /var
mount /usr
vi /tcb/files/auth/r/root
change:
:u_pwd=YcVZTmswL7o/.:\
to
:u_pwd=:\
Your intial entry will be different because its encrypted.
passwd
Set the root password.
You have now reset the root password.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:00 PM
12-07-2004 12:00 PM
Re: Root account disabled
If you are already logged in as root (or else login in single user as Steven says) then you can also use:
# /usr/sam/lbin/usermod.sam -F -p "" root
This will set a null password for root and you should be able to login as root and then set a new password.
Also check root account using:
# /usr/lbin/getprpw root
Converting to a trusted system will expires all accounts.
You can avoid this using:
# /usr/lbin/modprpw -V
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:46 PM
12-07-2004 01:46 PM
Re: Root account disabled
Try to first login as 'root' from the console. If successful, then unlock the account,
run:# /usr/lbin/modprpw -k root
If can not, reboot server into single-user mode:
Stop the boot process when it says "Press any key to stop in 10 seconds". It will be on "Main Menu >" prompt.
Type "bo pri" hit Enter.
< Interact with IPL ? >
Say Y ( for yes)
You will be at "ISL>" prompt.
Type "hpux -is" hit Enter.
System will be booted in single user mode and it will be logged in as "root".
At the end of this you'll be able to change root password
Regard,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 10:46 PM
12-07-2004 10:46 PM
Re: Root account disabled
Let take care that In single mode,passwd command only run when you already mounted /var and /usr (as S.E.P saying).
mount /var
mount /usr
tienna