Linux Debian support - Disable services on UbuntuLinux distro

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > October 2004 > Disable services on UbuntuLinux distro





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Disable services on UbuntuLinux distro
VP

2004-10-20, 5:45 pm

Where i disabale services on UbuntuLinux distro.
UbuntuLinux is basead on Debian,but can't find where i can
disable services.
Thanks

_VP
Andreas Janssen

2004-10-21, 7:45 am

Hello

VP (<vpedro.pias@sapo.pt> ) wrote:

> Where i disabale services on UbuntuLinux distro.
> UbuntuLinux is basead on Debian,but can't find where i can
> disable services.


If you want it shut down, run

/etc/init.d/servicename stop

To permanently disably it, remove the start links from the default
runlevel (see /etc/rc2.d/). Debian Sarge has some programs that can
help you do that, for example sysv-rc-conf. See if that package is
available in Ubuntu.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
gregor herrmann

2004-10-21, 5:45 pm

On Thu, 21 Oct 2004 10:50:30 +0200, Andreas Janssen wrote:

> To permanently disably it, remove the start links from the default
> runlevel (see /etc/rc2.d/). Debian Sarge has some programs that can
> help you do that, for example sysv-rc-conf. See if that package is
> available in Ubuntu.


debian also has a nice tool called 'update-rc.d' for managing services.

gregor
Andreas Janssen

2004-10-21, 5:45 pm

Hello

gregor herrmann (<gregor+usenet-0402@comodo.priv.at> ) wrote:

> On Thu, 21 Oct 2004 10:50:30 +0200, Andreas Janssen wrote:
>
>
> debian also has a nice tool called 'update-rc.d' for managing
> services.


update-rc.d was mainly invented to allow the package management to take
care of creating or removing runlevel links upon package installation
or removal (usually through the postinst or prerm scripts). You /can/
use it, but it has several drawbacks. The most important one is that if
you remove the links for a service using update-rc.d and later update
the package, the links will automatically be recreated.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com