1) you mean in "ubuntu" where you do tell a daemon NOT to start (or more appropriately, remove it from the programs that DO start).
2) disabling it when it is NOT in use doesn't really do much (just so you know) except that you could find out something IS using it of which you were unaware which could bork your system until you turn it back on.
don't play with this when you have a deadline (or agents who need to make sales)
____
at the command line:
- Code: Select all
man update-rc.d
Contains all the instructions you could ever want including:
- Code: Select all
update-rc.d [-n] [-f] name remove
where the n and f are "optional" and "name" is the program you want to remove.
to add it back in (in case this was a big mistake)
- Code: Select all
update-rc.d [-n] [-f] name defaults
will add it back to the "default" levels startup scripts.