LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 06-29-2004, 03:24 AM   #1
wolfpeach
LQ Newbie
 
Registered: Jun 2004
Location: Oxford, UK
Distribution: Debian
Posts: 27

Rep: Reputation: 16
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
 
Old 06-29-2004, 04:20 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
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
 
Old 06-29-2004, 04:31 AM   #3
wolfpeach
LQ Newbie
 
Registered: Jun 2004
Location: Oxford, UK
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 16
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
 
Old 06-29-2004, 06:27 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
not sure how debian uses that service.

Last edited by ppuru; 06-29-2004 at 07:04 AM.
 
Old 06-29-2004, 06:35 AM   #5
wolfpeach
LQ Newbie
 
Registered: Jun 2004
Location: Oxford, UK
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 16
OK - will turn it off and let you know if anything breaks!

;-)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing to FreeBSD print server running cups - odd problem Builder *BSD 6 03-18-2005 09:38 AM
home network (win & lin) file/print server, distro? jollyjoice Linux - Networking 3 11-03-2004 12:51 PM
leave process running after logoff nakkaya Linux - Software 4 04-09-2004 02:21 AM
file/print server tank728 Slackware 1 03-10-2004 01:11 AM
File & Print Server Culbert Linux - Distributions 10 04-02-2003 02:00 PM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration