Re: Turning off printer and other daemons
Jeffrey Taylor <jeff@austinblues.dyndns.org> writes:
> Is there a general way to disable start up of specific daemons at boot
> time.
Delete their startup links in /etc/rc2.d or /etc/rcS.d.
> I know I can rip the whole package out, or do a "update-rc.d -f
> remove lpd", but is there a more elegant way?
What do you actually want? The /etc/rc?.d links are the main way to
configure what services get started when; update-rc.d is a tool that
manages those, or you can edit them by hand. In most cases, clients
and servers come in separate packages, so you can install telnet
without installing telnetd.
> Some have files in /etc/default with XYZRUN=no. Does this work in
> general?
This only tends to happen for packages that break the previous model;
notable exceptions are ssh (don't know why) and lpr/lpd (traditional
Unix model is that you need lpd running on the local host for lpr to
work; lprng doesn't have this restriction if you have no local
printers).
If you have a package that just contains a server, and you never want
to use the server, you might as well remove it.
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: