This is *exactly* the kind of thing that needs to go in the new manual.  I 
never new what the different run levels meant (except that run level 0 has 
been reached meant I had completed my shutdown)

The explanation is perfect.  I learned something today!  And, I even got a 
few shortcuts to replace shutdown -h now, etc.

I love this list~!




>Run levels:
>
>A run level is simply a state that the OS run in.  There are at least 6
>run levels that a Linux (or any unix) kernel runs in.  The difference in
>these run levels is simply the set of daemons or programs that get executed
>at boot time and pretty much nothing else.  The list of these daemons or
>programs can be customized by the sysadmin at any time by modifying some
>config files which vary from distro to distro.  To cause the kernel to
>switch to a different run level you use the "init" command followed by the
>desired run level number (i.e. init 3).  Of course, you must be logged in
>as root to perform this operations since changing run levels is a privileged
>operation.
>
>A summary of what each run level means or is supposed to accomplish follows:
>
>init 0:
>         Causes the system to shut down.  This is equivalent to typing
>         "shutdown -h now".
>
>init 1:
>         Causes the kernel to go into single user mode, and the single user is
>         "root".  This run level is usually used to system maintenance 
> operations.
>         None of the networking or additional services are active at this 
> time.
>
>init 2:
>         Is traditionally used to put the kernel in multi user mode.  This 
> allows
>         other users to log in from hardwired terminals.  No networking 
> services
>         are available in this run level.
>
>init 3:
>         Is traditionally a state where full networking is enabled.  It's 
> kinda
>         like run level 2 with network   services.
>
>init 4:
>         When X was developed this run level was designated as the "GUI 
> mode for
>         the system console" run level.
>
>init 5:
>         User defined.
>
>init 6:
>         Reboot.  This run level is equivalent to typing "shutdown -r now".
>
>The run levels are controlled by the /etc/inittab file.  However, in distros
>like Red Hat this mechanism has been used to ease and optimize the management
>of processes by simply running a script that in turn runs additional scripts
>to fire up or shut down processes assigned to run at each level.  The scripts
>used to do this can be found in /etc/rc.d/init.d and /etc/rc.d/rc?.d.  For
>more information on the init states (or run levels) consult the man pages for
>init (man init).
>
>Samantha Jo Moore

Mary Anne Cox
http://www.homestead.com/2muchtime/index.html

"...to start, press any key.  Hmmmm....now, exactly where IS the 'any' key?"

************
[EMAIL PROTECTED]   http://www.linuxchix.org

Reply via email to