Archive for the tag 'distros'

SBDavid

Disabling services in RPM distros

Disabling services in RPM distros

There are several services running by default that may be safely disabled. First, we’ll generate a list of services that are enabled at runlevel 3.

chkconfig –list | awk ‘/3:on/ { print $1 }’

We will disable the following services

gpm kudzu netfs anacron atd apmd pcmcia nfslock isdn autofs portmap rhnsd

for SERVICE in gpm kudzu netfs anacron atd apmd pcmcia nfslock isdn autofs portmap rhnsd
do
/sbin/chkconfig $SERVICE off
/sbin/service $SERVICE stop
done