System Management


Table of Contents

Add your own service 
Important Config File Location 
linuxconf, change hostname 
Apache 
KDE Config File 
poweroff account 
poweroff account 
restrict to console log on only 
restrict to console log on only 
Getting system to re-read conf.modules 
how to query the kernel 
how to query the kernel 
how to query the kernel 
System logs 
Lost Password 
For RH6.2 
General approach 
General approach 
linux "magic sysrq key" cheat sheet 
Linux-2.6 and udev for a dynamic /dev 
Introduction 
PREREQUISITES: 
Closing Remarks 
Disk access spy 
Disk access spy 
Disk access spy 
Disk access spy 
Disk access spy 
Disk access spy 
gnome keeps messing up my /etc/fstab 
gnome keeps messing up my /etc/fstab 

Add your own service 

Use

chkconfig --add name

This option adds a new service for management by chkconfig. When a new service is added, chkconfig ensures that the service has either a start or a kill entry in every runlevel. If any runlevel is missing such an entry, chkconfig creates the appropriate entry as specified by the default values in the init script. Note that default entries in LSB-delimited 'INIT INFO' sections take precedence over the default runlevels in the initscript.

cp redhat.noip.sh /etc/rc.d/init.d/noip
chkconfig --add noip
% chkconfig --list noip
noip            0:off   1:off   2:off   3:off   4:off   5:off   6:off
chkconfig noip on
% chkconfig --list noip
noip            0:off   1:off   2:on    3:on    4:on    5:on    6:off
# service noip start
Starting no-ip client daemon:                              [  OK  ]

documented on: 2004.06.24