LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Richard Sharpe <sharpe@ns.aus.com>
  To  : LinuxSA@linuxsa.org.au
  Date: Mon, 06 Sep 1999 18:02:15 +0900

Re: Boot Up Sequences, etc (Warning, Advert :-)

At 12:40 AM 9/6/99 +0000, Glen Turner <glen.turner@adelaide.edu.au> wrote:
>Robyn Manning wrote:
>> 
>> How do I edit the list of "programs"? run on booting Linux?
>
>chkconfig is a simple way that should work on most distributions.
>
>  chkconfig --list syslog
>  syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Also, see ntsysv on RH (and other) systems.

Glen has given you the low-down on this, but I can't help pointing out the
following :-)

This info, and much, much more is provided on the 5-day, intensive,
Hands-on, Linux System Admin training course that I give.

See www.iit-training.com.au for more info.

>shows that the syslog (system logger) facility is started
>in run levels 2, 3, 4 and 5.
>
>The run levels are (from comments in /etc/inittab):
>#   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)
>
>So to make facility xx work we do:
>
>  chkconfig --add xx
>  chkconfig xx on
>
>Which relies on a file /etc/rc.d/init.d/xx, or /sbin/init.d/xx, depending
>on your distribution.
>
>If you don't have one of these files then you can add a line to
>/etc/rc.d/rc.local to start the program manually, but this
>never works as well as you hope.
>
>There are also graphical tools, but ironically, they lack
>the ease of use of chkconfig.
>
>-- 
> Glen Turner                               Network Specialist
> Tel: (08) 8303 3936          Information Technology Services
> Fax: (08) 8303 4400         The University of Adelaide  5005
> Email: glen.turner@adelaide.edu.au           South Australia
>
>-- 
>Check out the LinuxSA web pages at http://www.linuxsa.org.au/
>To unsubscribe from the LinuxSA list:
>  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
>

Regards
-------
Richard Sharpe, sharpe@ns.aus.com, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page