How to stop unwanted servrices during boot

Shawn Milo ShawnMilo at runbox.com
Tue Nov 16 16:02:20 UTC 2004


I think that the recommended way to do this is to chmod -x the scripts you do not wish to have executed on startup. So, to disable the samba service, for example, you would type:

chmod -x rc.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.

Shawn

\
\> You might want to look at the command
> 
> update-rc.d
> 
> The list archives have some discussion on how to do this
> exactly...
> 
> Wouter
> 
> On Tue, Nov 16, 2004 at 03:06:44PM +0800, Enn Pee wrote:
> > Hi,
> > 
> > Is there any utility available that can be used to
> > disable / enable services at different runlevels ? Or
> > is it the plain method of renaming startup files like
> > S** to something else? Redhat has one such nice
> > command line tool that I had used to configure the
> > services.
> > 
> > Thanks
> > 
> > ennpee
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Download the latest ringtones, games, and more!
> > http://sg.mobile.yahoo.com
> > 
> > -- 
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> -- 
> Wouter Eerdekens
>                                     "Revenge is a dish best served cold"
> retuow at xs4all.be                             -- Ancient Klingon Proverb
> http://www.haggis.be/
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 




More information about the ubuntu-users mailing list