LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what are run levels in chkconfig (https://www.linuxquestions.org/questions/linux-newbie-8/what-are-run-levels-in-chkconfig-232771/)

tej 09-20-2004 12:55 AM

what are run levels in chkconfig
 
hello forum,

to start any service in chkconfig there are run level 1 to 5. which displays on or off
when we give command
chkconfig --list

can any one tell me on what run level i am suppose to start any service and what is importance of these run levels.

-bye

MartinN 09-20-2004 01:15 AM

Hello tej!

From the file /etc/inittab:
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

If your system boots with a gui, then you use runlevel 5, if it boots to a text console, you're using runlevel 3.

Martin


All times are GMT -5. The time now is 10:43 AM.