From: Dee McKinney
Forwarded message from Alan Westhagen
No, chkconfig is a venerable unix command, present in many unix and unix-like systems. -- alan <p>Dee McKinney wrote:
Hi Alan,
Is the command referenced "chkconfig" specific top RH ?
Thanks /Dee
Alan Westhagen
wrote: Patrick Nelson wrote:
Many of those services for which the listening function has been delegated to inetd, you should
1. Edit /etc/inetd.conf. Simply comment out the services that you don't want to support.
2. Restart inetd with the command
/etc/rc.d/init.d/inet restart
Other services, such as sendmail, are daemons started at boot time and which do their listening themselves. Determine which these are with the command
chkconfig --list
You can then use chkconfig to change the configuration so that unwanted daemons won't be started at boot time. For example, to stop running sendmail, use the command
chkconfig --level 0123456 sendmail off
Using chkconfig does not actually stop these daemons. You can boot, and they won't be restarted. If you are not yet ready to boot, you can stop sendmail, for example, with the command
/etc/rd.d/init.d/sendmail stop
A useful HOWTO on this subject is the URL:
http://www.linuxdoc.org/HOWTO/Security-HOWTO.html
Regards, Alan Westhagen
<< End forwarded message