PDA

View Full Version : Removing daemons from the boot-up process...



doesnotcompute
03-10-2005, 11:09 PM
Hello,

I've just run apt-get update and apt-get upgrade on my knoppix hard drive installation, but after I've rebooted, a load of unneccesary daemons have started at boot up. (i.e. samba server, mySql server, squid proxy, a thpttd web server {I think that's what it's called})... Anyway, is there some conf file that I can tweak to make sure these services don't load the next time I boot up? I really don't need them at all, and they're quite a security risk...

pureone
03-10-2005, 11:25 PM
use
rcconf
if its not there just

apt-get install rcconf

enjoy

this mayalso intrest you

http://purelinux.hollosite.com/linuxdefense.txt

doesnotcompute
03-10-2005, 11:41 PM
Sweet! Thanks for the speedy reply!! :D

doesnotcompute
03-11-2005, 08:48 PM
I tried to install rcconf, but I ended up with a package dependency..... Anyway I was actually able to remove uneeded daemons from the startup process using


update-rc.d -f <process_name> remove

where <process_name> is the name of the process that you wish to remove from the bootup sequence. To get a list of all the services that were running at boot up, I simply typed


ls -la /etc/rc*.d/ | more

Just thought I'd post it here to help anyone with a similar problem.