LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2003, 09:31 PM   #1
nester
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 7.3
Posts: 26

Rep: Reputation: 15
Question which Services aren't needed?


Hi,

I have Redhat 7.3 and I'm trying to shutdown some unneeded services using, serviceconf but the trouble is I don't know which ones I really need and which ones I don't!?

I could post in the services I am running so you can see which ones I should shut down? I don't want to shut something down and find that it messes up the whole system! so I thought I'd ask some pros first!

I have heard that the fewer you run the more secure you are?

Thanks all for your help

Nester
 
Old 06-03-2003, 09:46 PM   #2
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Quote:
Originally posted by nester
I could post in the services I am running so you can see which ones I should shut down? I don't want to shut something down and find that it messes up the whole system! so I thought I'd ask some pros first!
Posting what you have running would definetely help.

Quote:
I have heard that the fewer you run the more secure you are?
That is a fair argument, you should never run a service if you are not using it for a couple of reasons. Security and wasted resources come to mind first. There are many other things to consider as well, for instance patching the system.
 
Old 06-03-2003, 10:05 PM   #3
nester
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 7.3
Posts: 26

Original Poster
Rep: Reputation: 15
Hi jdc2048,

Thanx for quick reply.

Here is what's running;

anacron
apmd
atd
autofs
crond
gpm
ip6tables
ipchains
iptables
isdn
keytable
kudzu
ipd
netfs
network
nfslock
portmap
random
rawdevices
sendmail
sgi_fam
sshd
syslog
xinetd

About the patches, yes I will definatley get that sorted, I am not actually online with my linux box at the moment for that reason, so I will use another system and transfer them.

Thanks for your help, does it look like I'm running too many services?

ps: I'm in run level 5

Nester
 
Old 06-03-2003, 10:33 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
anacron
apmd
atd
autofs
crond
gpm
ip6tables
ipchains
isdn
keytable
kudzu
ipd
netfs
network
nfslock
portmap
rawdevices
sendmail
sgi_fam
sshd
Depends on whether you actually run anything
on all of these ... (well, I don't know what a few
of them are for, they's non-existing on Slackware)
[sgi_fam, ipd, keytable] ... ipchains is obsolete since
you have itptables, ip6tables - I doubt you actually
use IP v6 protocol, the others in the list
you'd only need if you actually utilize them ...
do you ssh to your machine(sshd)? Have you got
oracle server running (rawdevice)? Sendmail - are
you using your local sendmail to relay mails to your
ISP or do you use a pop3 client? portmap, nfs, netfs
... any networked shares? Kudzu - changing hardware
on a daily basis? :) gpm - using mouse in full-screen
console? crond, atd, anacron - scheduled commands?

Cheers,
Tink
 
Old 06-03-2003, 11:08 PM   #5
nester
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 7.3
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

I have never used ssh (is that secure shell?) I have no oracle server running or any networked shares, I'm not on the internet with linux at the moment but when I do I will use pop3 for email.
I change hardware sometimes but not too often, I would like to keep the mouse in full screen, and about scheduled commands, I haven't configured any so it would only be what is done by default.

So I could pretty much stop all those services, If I ever needed them and try to start them from a shell, would they still start or would I have to reenable them from serviceconf again?

One more question, which is the best firewall I should be using, iptables?

Thanks for your advice

Nester
 
Old 06-04-2003, 02:11 AM   #6
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Yes, you could disable most of these. What I would recommend is disabling one or two at a time and then verify that everything still works ok.

The apmd one is related to power management (i think), so you may want to leave that one running. You will also want to leave the iptables running.

iptables is a stateful packet inspection firewall, so yes. ipchains was the older firewall which was useful, but is not nearly as good as iptables.

another thing you will want to check is what is running under xinetd. Check out your /etc/xinetd.d directory and /etc/xinetd.conf configuration file to see what is running there.
 
Old 06-04-2003, 08:47 AM   #7
nester
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 7.3
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

I have just checked xinetd.d and everything is disabled except for sgi_fam which I think is a file monitoring daemon? Is that really needed at the moment as I'm not online with Linux yet?

The xinetd.conf just says some defaults, and include /etc/xinetd.d/
so I presume that is just sgi_fam again?

Thanks for all your help, this site is great, I will stick around here. I'm very new to linux but I'm already learning so much!

Thanks again,

Nester
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help, what services are needed for a windows to access Linux servers Wolfy Linux - Networking 6 07-12-2004 09:36 PM
TightVNC Ver terminal Services.. also looking for terminal Services for linux 2782d4 Linux - Security 3 05-20-2004 03:30 AM
Services that are not needed... firefly2442 Linux - General 3 08-07-2003 07:33 PM
Those services are they really needed ? Seal-X Linux - Networking 2 05-24-2003 10:00 AM
Startup services... which are needed? Stephanie Linux - General 7 04-05-2002 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration