Operating System - HP-UX
1822895 Members
3415 Online
109645 Solutions
New Discussion юеВ

Single user mode in HP UX

 
SOLVED
Go to solution
Sunny Anthony
Occasional Advisor

Single user mode in HP UX

How to go into single user mode in HP UX
8 REPLIES 8
Luk Vandenbussche
Honored Contributor

Re: Single user mode in HP UX

Hi,

Interrupt the boot sequence

BO Pri

Interact with IPL : Y

> HPUX -is (at boot prompt)
Alex Georgiev
Regular Advisor

Re: Single user mode in HP UX

Or just use the shutdown command with no arguments.

That will take you from a fully running system to single user mode.
Arunvijai_4
Honored Contributor

Re: Single user mode in HP UX

Login to GSP or MP prompt

GSL or MP > hpux -iS will get into to single user mode.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sivakumar TS
Honored Contributor
Solution

Re: Single user mode in HP UX

Dear Sunny,

the ways...

1. execute #shutdown -y 0

(by default goes to sinle user mode )

2. execute #init s



During bootime...

interact with ISL

and at ISL> prompt

3. execute hpux -is

With Regards,

Siva.


Nothing is Impossible !
Senthil Prabu.S_1
Trusted Contributor

Re: Single user mode in HP UX

Hi,

[A]. Loging to the machine,
# init S or init s
will bring it to single-userm mode.

[B], while bootup

Press ESC to stop the auto-boot.
When the list of boot devices is presented:

b PX ISL (where X is your root disc)

And at the ISL> prompt:

HP-UX9.x: ISL> hpux -iS disc(;0)/hp-ux
HP-UX-10.x: ISL> hpux -iS disc(;0)/stand/vmunix

The '-iS' are the flags to init which says come up single user. The rest
of the command is what the bootprocess does automatically.

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Muthukumar_5
Honored Contributor

Re: Single user mode in HP UX

Simply init S or init s will send you to single user mode. Else stop at prompt and give as,

boot>hpux -is

will lead to single user mode.

-Muthu
Easy to suggest when don't know about the problem!
Cem Tugrul
Esteemed Contributor

Re: Single user mode in HP UX

http://docs.hp.com/en/5991-1237/ch05s09.html#aes-npar-329a
Our greatest duty in this life is to help others. And please, if you can't
Bill Hassell
Honored Contributor

Re: Single user mode in HP UX

Just a note about shutdown with no -r or -h option: under several circumstances, this will not be a clean single user mode. And init s will never enter single user mode despite the man pages. shutdown 0 or shutdown -y 0 is a quick way to bypass (sometimes very long) processor selftests but occasionally you'll find network daemons still running and some filesystems like /var and /usr still mounted. True single user mode is defined as no filesystems mounted except / and /stand, and the absolute minimum kernel processes running. This is only consistently reached with a complete reboot and intgeracting with ISL using the hpux -is command.


Bill Hassell, sysadmin