Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-29-2004, 03:24 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Location: Oxford, UK
Distribution: Debian
Posts: 27
Rep:
|
How to prune a print & file server to leave minimal services running
Hi all.
I'm configuring a print & file server (Debian Woody w/ 2.4.18 kernel) for a small network of XP machines & want to have the bare minimum of services running.
I know I need ssh, samba & cron, but unsure about the rest... Dont want to leave any uneccesary security holes.
Heres the list of services currently running:
nfs-kernel-server
makedev
lpd
klogd
atd
nfs-common
cron
samba
exim
ppp
inetd
ssh
sysklogd
What could I safely prune??
Cheers,
Wolfpeach
|
|
|
06-29-2004, 04:20 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
Unless you often run a non-recurring event, you can knock off atd.
You can switch off inetd - let it remain in your system but do not run it at startup.
You can uninstall / take down NFS and portmap ... if you do not plan to use them
Unless you want your server to send you mails - logwatch, tripwire alerts, etc, you can stop exim too.
So the only services running on your system will be
makedev
lpd
klogd
cron
samba
exim --- may or may not
ssh
sysklogd
|
|
|
06-29-2004, 04:31 AM
|
#3
|
LQ Newbie
Registered: Jun 2004
Location: Oxford, UK
Distribution: Debian
Posts: 27
Original Poster
Rep:
|
Thanks ppuru - thats v helpful!
One question - what is 'makedev'?? Is this not to do with adding extra bits of hardware to a machine? (='make device')
Wolfpeach
|
|
|
06-29-2004, 06:27 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
not sure how debian uses that service.
Last edited by ppuru; 06-29-2004 at 07:04 AM.
|
|
|
06-29-2004, 06:35 AM
|
#5
|
LQ Newbie
Registered: Jun 2004
Location: Oxford, UK
Distribution: Debian
Posts: 27
Original Poster
Rep:
|
OK - will turn it off and let you know if anything breaks!
;-)
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|