Re: Disable a service
On Sat, Apr 09, 2011 at 11:05:33AM -1000, Joel Roth wrote:
> On Sat, Apr 09, 2011 at 11:04:52AM -0400, Dan wrote:
> > Hi,
> > I would like to know which is the standard way to disable services. I
> > thought that the standard way is just to delete the link of the
> > service from rc*.d
> >
> > For example to disable bluetooth I would just delete the link
> > /etc/rc3.d/S20bluetooth that points to ../init.d/bluetooth
>
> Some may disagree (and I've made this point before)
> a standard way to prevent a script from
> executing in Unixlike system is to set the
> permissions.
>
> chmod a-x /etc/init.d/bluetooth
>
>
Good enough if it works without issue. But I am a little curious about your
definition of "a standard."
--
Regards,
Freeman
"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody
Reply to: