this is obsolete doc -- see http://doc.nethence.com/ instead

Cleaning up unneeded services on redhat RHEL 3,4,5,6,7... 

 

On RHEL3, 

  service apmd stop 

  service autofs stop 

  service cups stop 

   

  chkconfig apmd off 

  chkconfig autofs off 

  chkconfig cups off 

 

On RHEL4, 

  service apmd stop 

  service autofs stop 

  service cups stop 

  service acpid stop 

  service bluetooth stop 

  service haldaemon stop 

  service hidd stop 

  service pcmcia stop 

  #service iptables stop 

   

  chkconfig apmd off 

  chkconfig autofs off 

  chkconfig cups off 

  chkconfig acpid off 

  chkconfig bluetooth off 

  chkconfig haldaemon off 

  chkconfig hidd off 

  chkconfig pcmcia off 

  #chkconfig iptables off 

 

On RHEL5, 

  #service acpid stop 

  service atd stop 

  service auditd stop 

  service autofs stop 

  service avahi-daemon stop 

  service bluetooth stop 

  service cups stop 

  service firstboot stop 

  #service haldaemon stop 

  service hidd stop 

  service iscsi stop 

  service pcscd stop 

  #service yum-updatesd stop 

  #service iptables stop 

  #service ip6tables stop 

 

  #chkconfig acpid off 

  chkconfig atd off 

  chkconfig auditd off 

  chkconfig autofs off 

  chkconfig avahi-daemon off 

  chkconfig bluetooth off 

  chkconfig cups off 

  chkconfig firstboot off 

  #chkconfig haldaemon off 

  chkconfig hidd off 

  chkconfig iscsi off 

  chkconfig pcscd off 

  #chkconfig yum-updatesd off 

  #chkconfig iptables off 

  #chkconfig ip6tables off 

Note. iscsi is part of rhel5 since some update, it wasn't there in the 5.0 release. 

 

Note. if using serial console or anything making GPM useless, 

  #service gpm stop 

  #chkconfig gpm off 

Note. also check ntpd, 

  chkconfig --list | grep ntp 

Note. also check iscsi, 

  chkconfig --list | grep iscsi 

Note. for a XEN dom0, 

  #chkconfig microcode_ctl off 

Note. for a XEN domU, 

  #chkconfig microcode_ctl off 

  #service gpm stop 

  #chkconfig gpm off 

Note. for Compaq Smart Array (cciss), 

  #chkconfig smartd off