Re: How to manage services?
Sudeep Mukherjee <smdeep64@gmx.net> writes:
> What is the equivalent of RH's ntsysv in Debian? I want to
> permanently disable a few services like Samba, etc.
'dpkg --remove' can be very effective at doing this sort of thing.
Otherwise, the easiest thing to do is to remove the relevant 'S' link
in /etc/rc2.d. (But, be careful not to delete all of the links for a
particular services in /etc/rc?.d, since then update-rc.d will replace
them the next time the package is updated; make sure to leave at least
one, like the K links in rc0.d and rc6.d.)
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: