User Tools

Site Tools


user:thakes3:portfolio:fall2013:runlevel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

user:thakes3:portfolio:fall2013:runlevel [2013/10/22 15:43] – created thakes3user:thakes3:portfolio:fall2013:runlevel [2013/10/22 15:44] (current) thakes3
Line 1: Line 1:
 +======Runlevel======
 +
 +====Overview====
 +(from wikipedia)
 +
 +the term **runlevel** refers to the mode of operation in an OS that implements the Unix System V-style initialization. 
 +
 +runlevel defines the state of the machine after boot. Different runlevels are typically assinged to the:
 +
 +   * single-user mode (root)
 +   * multi-user mode without networking services started
 +   * multi-user mode with networking services started
 +   * system shutdown
 +   * system reboot
 +
 +The real thing you should know about this: the **Linux Standard Base specification**.
 +
 +This is a general guide for what the run level ID's pair up too. In debian 2-5 are the same (full multi-user with console logins), RHEL is more secured but also a pain in the ass. 
 +
 +<code>
 +0       Halt
 +1       Single-User mode
 +2       Multi-user mode (sin networking)
 +3       Multi-user mode (with networking)
 +4       Not generally used
 +5       Multi-user mode (with x & console)
 +6       Reboot
 +
 +</code>
 +
 +So by editing /etc/inittab , you could in theory have a program enter runlevel 6 and reboot the system. >;]~
 +
 +
 +