- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
тАО01-07-2010 11:18 PM
тАО01-07-2010 11:18 PM
Root Account Disabled
my root account was disabled and all other admin acocunts. I only have one regular account but I cannot change it to super user.
Will modprpw -k root only works for admin or super user?
I am also trying to boot in a single user mode with the help i've got also from this forum:
1. Reboot
2. from console interrupt the boot when youre asked (you have 10 secs to interrupt autoboot)
3. Boot from primary boot device (boot pri)
4. When asked to interact with IPL answer Y (yes)
5. hpux -is (this will boot to single user mode).
6. once up reset roots password/re-enable it.
BUT, when about to type:
HPUX> boot pri
Could not open file pri to check for a directory
Could not open file pri
Loading failed...
IS THIS PRI A COMMON COMMAND FOR PRIMARY OR THIS IS A FILE/DIRECTORY?
please help, i am new to this one...
Anyone's immediate reply will be highly appreciated. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 11:35 PM
тАО01-07-2010 11:35 PM
Re: Root Account Disabled
>> HPUX> boot pri
At this prompt you need to specify the single user mode option.
for single user mode
HPUX> boot -is
for LVM quorum mode
HPUX> boot -lq
for maintenance mode boot
HPUX> boot -lm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 11:37 PM
тАО01-07-2010 11:37 PM
Re: Root Account Disabled
1. During the system├в s boot sequence it will usually wait and display the following or
similar messages if Autoboot is enabled:
Processor is booting from first available device.
To discontinue, press any key within 10 seconds.
2. Press any key before the 10 seconds elapses. The system console will display the
following or a similar prompt:
Boot terminated.
---- Main Menu ---------------------------------------------------------------
Command Description
------- -----------
BOot [PRI|ALT|
PAth [PRI|ALT] [
SEArch [DIsplay|IPL] [
COnfiguration menu Displays or sets boot values
INformation menu Displays hardware information
SERvice menu Displays service commands
DIsplay Redisplay the current menu
HElp [
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 11:47 PM
тАО01-07-2010 11:47 PM
Re: Root Account Disabled
I was able to changed the root password.
After this, what would be the proper next step?
Should I just turn it off manually? or what?
Thank you very much again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2010 12:02 AM
тАО01-08-2010 12:02 AM
Re: Root Account Disabled
(The easiest way to do that is usually to run "mountall". It will attempt to mount the root filesystem to read-write mode, and mount all other filesystems according to /etc/fstab.)
After changing the root password, just run "shutdown -r now" to restart the system.
----
Some background information about the boot procedure:
The prompt for the command "boot pri" should normally be "PDC>", not "HPUX>".
"pri" is neither a file or a directory. It refers to the hardware path of the primary boot disk stored in the NVRAM of the PA-RISC systems.
The instructions in your original post assume the system is a PA-RISC system (models like rpNNNN or earlier). Your boot prompt and the error messages seem to indicate you have an Itanium system (rxNNNN models). For them, the procedure is different.
HPUX> is the prompt of the HPUX.EFI boot loader. To make the Itanium system boot to single-user mode, type:
HPUX> boot -is
http://docs.hp.com/en/B2355-60103/hpux.efi.1M.html
http://docs.hp.com/en/A5201-90017/apb.html
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2010 09:12 AM
тАО01-08-2010 09:12 AM
Re: Root Account Disabled
If the root account was simply disabled you can still log in via the console.
modprpw -k root
In this case it would not have been neccessary to shutdown/crash the OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2010 05:33 AM
тАО01-14-2010 05:33 AM