chkconfig equivalent debian
Hi Gurus
I am new to debian. I use chkconfig --del <service name> in SuSE to stop a service. What is the equivalent to stop a service **permanently** in debian (sarge) (I want to stop sshd) Many thanks |
If you don't need the service you can simply delete the package for it. If that's to much you can look in /etc/init.d where the startup scripts for programs are.
|
Or a more elegant way would be using the 'update-rc.d' command which allows you to add/remove/set the symlinks in /etc/rc*.d that point to scripts in /etc/init.d.
To remove a script that starts a certain service run Code:
update-rc.d -f script_name remove |
All times are GMT -5. The time now is 09:13 PM. |