System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Why Booting HP-UX in Single User Mode doesn't ask for root password?

SOLVED
Go to solution
AMIT PANDEY
Occasional Advisor

Why Booting HP-UX in Single User Mode doesn't ask for root password?

Hi,
Does any one has the answer for the below question:
=============================================
Why Booting HP-UX in a Single User Mode doesn't ask for root password?
=============================================
Thank you for any response in advance.
4 REPLIES
Mel Burslan
Honored Contributor

Re: Why Booting HP-UX in Single User Mode doesn't ask for root password?

This is an optional setting that must have been answered as "don't ask root password in single user mode login" at the system build time. This prevented loading of boot authenticator software. If you need root password to be asked when you are logging into the single user mode, you will need to install this software. Detailed information can be found in this document:
http://docs.hp.com/en/5990-7251/5990-7251.pdf
Hope this helps.
________________________________
UNIX because I majored in cryptology...
Suraj K Sankari
Honored Contributor

Re: Why Booting HP-UX in Single User Mode doesn't ask for root password?

Hi Amit,
This because if you forget root passwd then you can loggin in Single User and reset/change your root passwd.

This is a optional setting if you want that your system ask root passwd in Single User Mode ?
You have to install Bastille and set the value ="N"

HP_UX.single_user_password="N"

Suraj
SoorajCleris
Honored Contributor
Solution

Re: Why Booting HP-UX in Single User Mode doesn't ask for root password?

You have options.

You may install BOOTAUTH11i (product). Once you install this you will get a new parameter BOOT_AUTH in security file.
The new feature is disabled by default.

You can enable it by configuring the BOOT_AUTH
parameter in the /etc/default/security file.

Other option is Using TCB

Thanks
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
AMIT PANDEY
Occasional Advisor

Re: Why Booting HP-UX in Single User Mode doesn't ask for root password?

Thank you for the response.
It really helped me to understand the basic behind this.
I have HP-UX 11.31 Installed and I founf that BOOTHAUTH11i Bundle is not installed currently. But, /etc/default/security file is there in which BOOT_AUTH=0 is set, and this is enabling not to ask password while booting in Single User Mode.