[techtalk] X win
Mike and Mary Anne Cox
mnmcox at sprynet.com
Tue Oct 12 11:10:06 EST 1999
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~!
>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
>A summary of what each run level means or is supposed to accomplish follows:
> Causes the system to shut down. This is equivalent to typing
> "shutdown -h now".
> Causes the kernel to go into single user mode, and the single user is
> "root". This run level is usually used to system maintenance
> None of the networking or additional services are active at this
> Is traditionally used to put the kernel in multi user mode. This
> other users to log in from hardwired terminals. No networking
> are available in this run level.
> Is traditionally a state where full networking is enabled. It's
> like run level 2 with network services.
> When X was developed this run level was designated as the "GUI
> mode for
> the system console" run level.
> User defined.
> 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
"...to start, press any key. Hmmmm....now, exactly where IS the 'any' key?"
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk