Operating System - HP-UX
1834137 Members
2466 Online
110064 Solutions
New Discussion

Re: Booting in multi/singleuser mode?

 
SOLVED
Go to solution
Eric Harvill_1
Occasional Advisor

Booting in multi/singleuser mode?


Is there a startup config file that controls whether or not the OS boots into singleuser or multiuser mode in HP 11i? Thanks..

Eric
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: Booting in multi/singleuser mode?

Hi Eric:

The run level associated with the 'initdefault' entry in /etc/inittab should specify the desired run level at boot time. See man (1m) 'init' for more details.

...JRF...
Eric Harvill_1
Occasional Advisor

Re: Booting in multi/singleuser mode?

I had looked at that already. It is set for 3 -- init:3:initdefault:. Any other ideas?
Vincent Stedema
Esteemed Contributor
Solution

Re: Booting in multi/singleuser mode?

Is the path to the root shell /sbin/sh? Or have you modified it?

Your system might stop booting because it cannot access the root shell due to a filesystem not having been mounted yet.

Vincent
Mark Vollmers
Esteemed Contributor

Re: Booting in multi/singleuser mode?

The /etc/inittab defines what run level the server boots to. level s is single user and level 3 is for NFS (level 2 is multi-user, but level 3 includes level 2). The server will automatically boot to the default in the inittab. You normally go to single user by interrupting the boot process. Hope this helps.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
James R. Ferguson
Acclaimed Contributor

Re: Booting in multi/singleuser mode?

Hi Eric:

Does /etc/rc.log show that the startup sequence has been exercised?

...JRF...
Vincenzo Restuccia
Honored Contributor

Re: Booting in multi/singleuser mode?

Bad shell for root ?
Eric Harvill_1
Occasional Advisor

Re: Booting in multi/singleuser mode?

Vincent, thanks for the help! My manager (I know) changed the root shell to ksh. I've heard of this issue before, but hadn't thought about looking at the passwd file. Thanks again..

Eric
Dave van Nierop
Advisor

Re: Booting in multi/singleuser mode?

Eric,

After reading your response to Vincent viz. bad shell in /etc/passwd, check out DOC ID KBRC00000408 titled "How can all commands be recorded and viewed" to set the K - recall command history. This may have been what your Manager was looking for by setting the default root shell to ksh.

- Dave