Runlevel

email.listen at googlemail.com email.listen at googlemail.com
Sun Jan 27 13:50:40 UTC 2008


Am So, 27. Januar 2008 14:06:39 schrieb Kaushal Shriyan:
> Hi
>
> When I run the runlevel command I get N 2
That's correct for a Debian based Linux system.
You wil find this on Debian, Ubuntu, Knoppix and (mostly) all other Debian 
based Linux Systems.

Have a closer look at /etc/inittab:

---8<---
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
---8<---

>    0 — Halt
>    -
>
>    1 — Single-user mode
>    -
>
>    2 — Not used (user-definable)
>    -
>
>    3 — Full multi-user mode
>    -
>
>    4 — Not used (user-definable)
>    -
>
>    5 — Full multi-user mode (with an X-based login screen)
>    -
>
>    6 — Reboot
>
> According to the above description 2 means user-definable and if that is
> the case how can i use it

Have a look at:
http://en.wikipedia.org/wiki/Runlevel
there is a quite good list of UNIX runlevel for some Systems.

You have to look to /etc/inittab, the definition of runlevel 0 to 6 and (for 
some UNIX Systems) S, R or a,b,c or Q should be listed there.

BTW. This is a typical pithole for novice UNIX administrators. (And a question 
I like to ask in class exercises, to be honnest ;-)

regards,
thomas




More information about the ubuntu-users mailing list