[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to prevent daemons from ever being started?



On Monday 15 May 2006 11:09, Uwe Hermann wrote:
> Hi,
>
> just a random question I wanted to ask for quite a while now:
>
> What is "the Debian way" to prevent any daemon from ever starting,
> whether upon reboot, upon upgrade, upon new install etc.

> ...

> How would you go about ensuring that _no daemon at all_ is ever started
> on your system, except when you explicitly type "etc/init.d/foobar start"?

Setting the default run level to 'single user' should nearly do the trick. 
Change /etc/inittab, thusly:
  # The default runlevel.
  id:S:initdefault:

It might not be the Debian way, but it's the unix way. :) :)

Neal



Reply to: