On 05 Nov 2005, Peter Valdemar Mørch wrote:
> Using Nessus as an example, I know how to disable it from starting
> automatically with:
> # update-rc.d -f nessusd remove
> 
> But then, two weeks down the road, a new version of nessus comes along,
> and after a dist-upgrade, the service is started automatically again,
> because the nessus package calls update-rc.d to have the nessusd daemon 
> start (as it should, I guess).
> 
> How do I configure a service to *NEVER EVER START* automatically? So
> this choice survives a "apt-get dist-upgrade"?
> 
[snip] 

I generally just add "exit 0" to the beginning of the script in
/etc/init.d. I don't know if it is the "right" thing to do but it's
simple and it works.

Anthony
-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to