- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root passwd
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
06-04-2001 05:36 AM
06-04-2001 05:36 AM
Is there anybody who can help me on how to login to a server running hp-ux 10.20 if we forgot the root passwd.
your help will be appreciated.
Augusto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 05:41 AM
06-04-2001 05:41 AM
Re: root passwd
type RS to reset the server
During power on self test, type CO to regain console, wait for the prompt asking for 10sec to press any key. press a key.
You get to
Command Menu : Main Menu >
type BO to boot from pri boot path
Choose Y to interact with ISL
at ISL> prompt
load the kernel with
hpux -is
to start in isingle user mode
There is no passwd prompt.
id
you are root
passwd root
enter new root password.
If you don't get the 10s prompt you'll have to flick a dipswitch on the m/board.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 05:41 AM
06-04-2001 05:41 AM
Re: root passwd
Thats the only way that I know..
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 07:31 AM
06-04-2001 07:31 AM
Re: root passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 08:03 AM
06-04-2001 08:03 AM
Re: root passwd
===================================
Date : 2001 Jan 18
Description : Unknown root password on trusted system.
Document Id : KBRC00005199
If the cust untrusts his system then he can change the password and then simply make his system trusted again. It is done as follows:
It is possible to untrust the system by doing the following:
From the SAM menu, I selected Auditing and Security -->
Audited Events --> Actions --> Unconvert System.
This allows the cust to change his root password using the passwd command. The cust is then free to make his system a trusted one again through SAM.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 08:06 AM
06-04-2001 08:06 AM
Re: root passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 08:17 PM
06-04-2001 08:17 PM
Re: root passwd
1. Power off the server
2. Insert the Recovery CD
3. Power server on, interrupt the boot process, select the CD device to boot from and interact with the IPL.
4. Type 800support (for servers) or 700support (for workstations)
5. Select [ Run a Recovery Shell ]
6. Exit to the shell prompt and mount the root ( / ) file system by typing the following, chroot_lvmdisk and follow the prompts (need to know the hardware path and device filename of the root disk).
7. Once the root file system is mounted (should be mounted on /ROOT), edit the password database for the root account.
NOTE: May need to load the vi, ex and libcurses.1 files before attempting to edit the following file.
cd /tcb/files/auth/r
cp root root.old
vi root
Remove the encrypted password string from the line that begins with :u_pwd= and save the file. The line should look like this after editing :u_pwd=:
8. Exit to the Recovery Menu and then reboot the server to single user mode. The system should request a login, type root and then just press ENTER for the password field (as it is blank). Reset the password as necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 09:08 PM
06-04-2001 09:08 PM
Re: root passwd
Just for future reference I would suggest
you implement something like 'sudo' then
knowing the root password is not needed
all the time. Once you have access to a
tool like 'sudo' you can the root password
if required.
'sudo' can be found at
http://www.courtesan.com/sudo
hth
Michael