How to stop unwanted servrices during boot

Wouter Eerdekens retuow at xs4all.be
Tue Nov 16 16:12:59 UTC 2004


On Tue, Nov 16, 2004 at 11:02:20AM -0500, Shawn Milo wrote:
> I think that the recommended way to do this is to chmod -x the
> scripts you do not wish to have executed on startup.

That's right. The update-rc.d stuff doesn't work across upgrades
of packages (ie. when you remove the samba initscript with this,
an upgrade of the samba package will re-enable the startup script)

> So, to disable the samba service, for example, you would type:
> 
> chmod -x rc.samba

that would be chmod -x samba

> 
> I am at work on a Windows machine right now, so I don't have the
> specific path information, but I think those scripts are somewhere
> in /etc/rc.d.

they are located in /etc/init.d

-- 
Wouter Eerdekens
                                    "Revenge is a dish best served cold"
retuow at xs4all.be                             -- Ancient Klingon Proverb
http://www.haggis.be/




More information about the ubuntu-users mailing list