FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
How do I disable "CUPS" at startup?

 
Post new topic   Reply to topic    BLAG Forum Index -> support
View previous topic :: View next topic  
Author Message
bob58
PostPosted: Thu May 06, 2004 5:33 pm    Post subject: How do I disable "CUPS" at startup? Reply with quote

: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
PostPosted: Thu May 06, 2004 5:54 pm    Post subject: Disabling Services Reply with quote

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
PostPosted: Thu May 06, 2004 6:00 pm    Post subject: command not found ? ? ? ? Reply with quote

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
PostPosted: Thu May 06, 2004 7:37 pm    Post subject: Reply with quote

Code:
/sbin/chkconfig --level 2345 cups off

kazim
PostPosted: Thu May 06, 2004 7:43 pm    Post subject: Reply with quote

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:
Code:

chkconfig --list

To see whats *on* and when
Code:

chkconfig --list |grep on

To turn cups back on
Code:

chkconfig --level 345 cups on

bob58
PostPosted: Thu May 06, 2004 11:14 pm    Post subject: Disable unneeded services Reply with quote

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
PostPosted: Sat Sep 25, 2004 7:40 am    Post subject: Reply with quote

You also can stop it in runlevel 5 (graphical) by stoping it in the services (menu,systemsettings,serversettings,services) and saving the conf.
stevo32
PostPosted: Sat Sep 25, 2004 4:56 pm    Post subject: Reply with quote

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).
Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> support
Page 1 of 1

Protected by Anti-Spam ACP