Wednesday, January 4, 2017

Optimizing Kali, Ubuntu, or Debian Linux By Disabling Services That are not Required on Boot

Services that are started on boot in Kali Rolling, Ubuntu, or Debian can be removed with the tool rcconf.
To install rcconf, use apt-get:
apt-get install rcconf

Services that start on boot that can be disabled are:
arpwatch (if you aren't looking for people arp poisoning you)
clamav-daemon
clamav-freshclam
gdm3 (if you don't use Gnome)
gdomap
lightdm (if you boot straight to console)
motd
pcscd (if you don't need smart card support)
pppd-dns
rsync
saned (if you don't use a scanner)
smartmontools (if you don't need to monitor your hard drive health)
speech-dispatcher
x11-common (if you boot straight to console)

If after restarting and rcconf still shows a service you removed, then you can force the disabling by issuing the command:
update-rc.d -f service_name remove

No comments:

Post a Comment