BLAG

BLAG Forums
It is currently Sat Dec 20, 2014 8:43 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu May 06, 2004 5:33 pm 
Offline

Joined: Wed Apr 28, 2004 12:22 pm
Posts: 13
: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:


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


Top
  
 
PostPosted: Thu May 06, 2004 6:00 pm 
Offline

Joined: Wed Apr 28, 2004 12:22 pm
Posts: 13
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!!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 06, 2004 7:37 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Code:
/sbin/chkconfig --level 2345 cups off


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 06, 2004 7:43 pm 
Offline

Joined: Sun Mar 14, 2004 11:08 pm
Posts: 83
Location: LOWMEM
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


Top
 Profile  
 
PostPosted: Thu May 06, 2004 11:14 pm 
Offline

Joined: Wed Apr 28, 2004 12:22 pm
Posts: 13
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:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 7:40 am 
Offline

Joined: Thu Sep 23, 2004 11:03 am
Posts: 48
Location: Linuxville GNULAND
You also can stop it in runlevel 5 (graphical) by stoping it in the services (menu,systemsettings,serversettings,services) and saving the conf.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 4:56 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
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).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group