View Full Version : disabling services uneeded on Ubuntu server
larka06
August 25th, 2006, 08:21 AM
I am running a ubuntu dns server. I recently decided to disable the unneeded services since it will never do anything but DNS. I have read through the forums and was unable to find anything that would help me. I am running 6.06 LTS server. I did come accross an article that said to use sysv-rc-conf. I tried that and recieved and error messagae that said no such command. If anyone out there can help me I sure would appreciate it.
Thanks](*,)
Uluen
August 25th, 2006, 08:30 AM
sudo apt-get install sysv-rc-conf?
Woei
August 25th, 2006, 03:29 PM
I am running a ubuntu dns server. I recently decided to disable the unneeded services since it will never do anything but DNS. I have read through the forums and was unable to find anything that would help me. I am running 6.06 LTS server. I did come accross an article that said to use sysv-rc-conf. I tried that and recieved and error messagae that said no such command. If anyone out there can help me I sure would appreciate it.
Thanks](*,)
sudo apt-get install sysv-rc
man update-rc.d
sudo update-rc.d -f servicename remove
Alternatively, although it's already good you're disabling unneeded services, why don't you simply uninstall these pieces of software ? The less software, the less loopholes.
harisund
August 25th, 2006, 04:05 PM
Basically every running service is initiated from a script in /etc/init.d. Fnd out what service is running, look for the script that is closest to that in /etc/init.d/ and execute 'sudo /etc/init.d/service_name stop' and the service will stop.
To ensure the service doesn't start again next time you boot, 'sudo update-rc.d -f service_name remove'
larka06
August 28th, 2006, 08:01 PM
Thank you. I have been go for a few days so, I am slow to respond.
larka06
August 28th, 2006, 08:04 PM
Thank you all of you for your help. I have been go for a few days so, I am slow to respond. Now all I need to do is to figure out what to get remove. Last time I did that I lost everything cause some things had depents
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.