How would I go about disabling CUPSD from my startup? I dont use a printer and do not find it necessary to load something I dont need...please advise!!!! Thank you...bob58![]()
How would I go about disabling CUPSD from my startup? I dont use a printer and do not find it necessary to load something I dont need...please advise!!!! Thank you...bob58![]()
update-rc.d -f cupsys remove
Not sure if this is the PC ( or politically correct ) way to do it, but, when I just want something not to run, during startup / shutdown, or in your case, disable it, I use Sys-V and locate the service in the Run Levels, and remove them - both from the START and the STOP service listings...
I had to do this to get Arts from starting on boot, so that ALSA would be the only sound service running...
Hope this helps,
Ms. Cuddles
Hi Ms. Cuddles...can you explain to me about sys-v? I am not sure I am familiar with that one. Is it a menu choice? If so, how do Igo about finding the run levels you wrote about....I am fuzzy in that area.....thanks....bob58
KMenu --> System ---> Sys-V-init editor
As for the run levels - you have seven - from 0 to 6, not exactly sure on which levels are for what, I don't have my "Sys Admin" book handy...
But, say run level 0 (zero) is for shutdown, run level 1 is for initialization, run level 2 is for text only booting, run level 3, etc...
When you boot, each level is passed to get to the actual level you need - maybe, not sure, run level 5 is complete GUI boot, you "progress" through levels 1 to, say, 5, and each level has things it is "needing" to do, start services, get hardware working, load partitions, etc... And, as each of these run levels have stuff they need to do, so, too, does run level 0 (zero), but in reverse - run level zero has the job of stopping all of these services, hopefully before the shutdown is activated ( or a reboot, same thing, just that after run level zero is maintained, it simply restarts by going back up the run levels, whereas a shutdown would just stay at run level zero )
Sys-V is a "Sys Admin" tool, used to set what things, and what orders, things are to be "fired off" during any specific run level. Say cupsd has a priority order of 21, and that it only should run at run level 5 - if you open Sys-V, in the Run Level 5 listing, you will find an entry for cupsd, and since it is started, you will also find an entry in Run Level 0 for it to be shutdown, as well...
Not sure if this works in a Live-CD boot, it might be saved with a "Save Knoppix Configuration" option, I am not sure, but it works great in a hard drive install...
Go into Sys-V-init editor, locate every occurance of cupsd in any of the run level listings, and remove it... Save it, and then reboot - the service should never start again... This process doesn't remove the actual program, or service, from the physical installation, just on it starting or stopping... Again, not sure with a Live-CD boot, if this works on "keeping" your changes, or not... But it works after you install it though.
I am quite sure you can "hack" a init.d file and do the same thing, remove it from a text file, and do the same, but the GUI is a nice way to see what is running, the order, and removal of things... As a note, I have had a dickens of a time trying to "re-insert" a removed service in Sys-V, one in particular was Artsd, some of the services have a priority number, and some don't, and re-inserting them isn't as easy as removing them is, so, if you remove something, it may not be as easy to put it back... So, remove with caution... As in the case of my artsd removal, I had to run its install script, or something, to get it to put it back correctly, not sure on the cupsd thing though...
I hope I helped, a little,
Ms. Cuddles

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays
$599.99
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00
Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99