cancel
Showing results for 
Search instead for 
Did you mean: 

RUN LEVEL

Rakesh Babu
Occasional Contributor

RUN LEVEL

HOW TO CHANGE RUN LEVEL PERMANET IN HP-UX?
7 REPLIES
Pete Randall
Outstanding Contributor

Re: RUN LEVEL

The first line of /etc/inittab defines the run level:

init:3:initdefault:

See "man 4 inittab" for details.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: RUN LEVEL

Hi:

If you mean the default run-level at boot, then As Pete has said, this is defined as the 'initdefault' action in '/etc/inittab'.

Be advised that the startup scripts in the '/sbin/init.d' directory are run based on this init level. Run-level 3 is HP-UX's standard networked, multi-user operating state.

To change run-levels (up or down) use 'init'. See it's manpages.

If you want to perform work in single-user mode, you should boot into this level.

Regards!

...JRF...
avizen9
Esteemed Contributor

Re: RUN LEVEL

Hello Rakesh
please go through below doc, spend few minuts it will clear you for your query,
good luck,
thanks


http://docs.hp.com/en/B9106-90008/init.1M.html
Jestin John Chacko
Regular Advisor

Re: RUN LEVEL

Dear,

please see man init and inittab
Taifur
Respected Contributor

Re: RUN LEVEL

Hi Rakesh,

For changing run level permanently, you have to edit /etc/inittab file
The file /etc/inittab contains an entry telling init that the initial run level for the system during boot-up should be run level 3:
#vi /etc/inittab

init:3:initdefault:

Check below link for details run level,
http://docs.hp.com/en/5992-4580/ch03s07.html

Rgds,,
Taifur
Sajjad Sahir
Honored Contributor

Re: RUN LEVEL

Dear Rakesh

for changing permanently
u have to edit in /etc/inittab file
init:3:initdefault:

replace three with new run level

if u want temparary
init then run level no:

thanks and regards

Sajjad
Dennis Handly
Acclaimed Contributor

Re: RUN LEVEL

Why do you want to change it permanently?