|
| View previous topic :: View next topic |
| Author |
Message |
bob58
|
Posted: Thu May 06, 2004 5:33 pm Post subject: How do I disable "CUPS" at startup? |
|
|
:o Hello everyone.....I dont use a printer with my BLAG laptop. I would like to disable services I dont use, such as CUPS. Could someone help me? Thanks...bob :shock:
|
|
|
 |
khhazim
|
Posted: Thu May 06, 2004 5:54 pm Post subject: Disabling Services |
|
|
1: Single User Mode
3: Multi User Mode (text only)
5: X Windows
Each service as appliccable to a runlevel is allocated there by chkconfig.
Therefore:
| Code: | | chkconfig --level 2345 cups off |
Cups will then not start up during all runlevels. (safest to leave 1 and 6 as they are)
These services are also safe to disable as they generally arent needed:
( moe know any others?)
atd
gpm
rawdevices
netfs
iptables
portmap
nfslock
xinetd
cups
|
|
|
 |
bob58
|
Posted: Thu May 06, 2004 6:00 pm Post subject: command not found ? ? ? ? |
|
|
When I go to the console as root and type "chkconfig" it says "command not found". I wonder why if it is a regular command????
I did:
chkconfig --level 2345 cups off
Get an error.....please help!!!!!!
|
|
|
 |
jebba
|
Posted: Thu May 06, 2004 7:37 pm Post subject: |
|
|
| Code: | | /sbin/chkconfig --level 2345 cups off |
|
|
|
 |
kazim
|
Posted: Thu May 06, 2004 7:43 pm Post subject: |
|
|
Make sure you have root (look for the # sign at the prompt), and use the full path (sbin) like this:
| Code: |
[root@LUCI msi]# /sbin/chkconfig --level 345 cups off
|
To see whats running and when:
To see whats *on* and when
| Code: |
chkconfig --list |grep on
|
To turn cups back on
| Code: |
chkconfig --level 345 cups on
|
|
|
|
 |
bob58
|
Posted: Thu May 06, 2004 11:14 pm Post subject: Disable unneeded services |
|
|
Thank you guys for the help....I was not typing in "/sbin/ before "chkconfig"......I was able to turn off all you suggested....thanks :lol:
|
|
|
 |
Triangle
|
Posted: Sat Sep 25, 2004 7:40 am Post subject: |
|
|
You also can stop it in runlevel 5 (graphical) by stoping it in the services (menu,systemsettings,serversettings,services) and saving the conf.
|
|
|
 |
stevo32
|
Posted: Sat Sep 25, 2004 4:56 pm Post subject: |
|
|
you might want to keep iptables.
and of course you need xinitd for alot of net stuff, so its best to leave that enabled.
What you can disable though:
chargen
chargen-udp
cups
cups-lpd
ipchains
lircd
lircmd
netfs
rsync
smb
sshd
swat
winbind
wine
Some you should KEEP:
xinitd
iptables
syslog
random
portmap
network
messagebus
:)
|
_________________ E-mail me at s.clement@localhost (replace localhost with sympatico.ca) or stevo32@localhost (replace localhost with blagblagblag.org). |
|
 |
|
|
|