LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 09-03-2004, 12:28 AM   #16
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69

Let's try to keep the threads on topic. If you wish to discuss random topics please do so in the General forum. Thanks.
 
Old 09-03-2004, 01:06 AM   #17
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I was about to say... that's the most interesting response to a question I've had yet. But back on topic:

First, before I go turning off everything on my system I just want to confirm that sshd isn't required for me to use ssh, sendmail/smtp isn't required to send/receive mail with mail clients, the cups daemon isn't required to use CUPs to print, and the X11 thing is only used for allowing remote logins to X and nothing else. The first two I'm pretty sure about, but it sounds from a description I read that CUPs was required if I wanted to use CUPs to print, and I was confused about what exactly making those changes to startx is going to do.

Second, I went into Slack's pkgtool to turn off services and now the only ones I see at startup are gpm, apmd, inetd, and sysklogd. I know I need/want gpm and apmd and sysklogd looks like something that's supposed to be there, but how about inetd? Do I want to keep that on?

Thanks again for your help.
 
Old 09-03-2004, 01:15 AM   #18
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
All the services that you are turning off are in fact daemons which means that they are servers and they serve. You can disable the sshd service on the computer but you can still ssh out from that machine to anywhere else. but you no longer can ssh INTO that machine because it is not running the sshd daemon and the same goes for the rest for them

You can still recieve and send mail as long as you use your isp mail servers.
Those changes that you make to startx will not affect any functionality.

inetd is a like of big service that runs sub services or you can probably disable it and it would be fine, it runs a whole bunch of r* services telnet etc and stuff like that that most people dont use anyway and if you come to need it just re-enable it. There is nothing in disabling any of these services that will cause your system not to boot. maybe the startx one.
Be careful not to delete anything else in the startx file.
 
Old 09-03-2004, 10:28 AM   #19
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I appreciate the explanation. Time to go turn some things off...
 
Old 09-04-2004, 02:01 PM   #20
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 209

Rep: Reputation: 30
If you wanted an easier way to turn them off you could have just

su
pkgtool

under pkgtool goto setup
x services
then you could disable them and if that still doesnt work

chmod -x /etc/rc.d/rc.service like ssh and what not
 
Old 09-04-2004, 03:25 PM   #21
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
yeah definitely go the pkgtool route if that works, dont know i've never used slackware
but i wouldn't recommend doing the chmod -x cause the files remain and its bad administration practice for later. and you have to look up the attributes later to check is this service running or not rather than just looking in the rc.d folder.
 
  


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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
Running Nmapfe as non-root user XaViaR Linux - General 3 06-10-2005 05:04 AM
Closing ports/stopping services New2MDK Linux - General 5 02-15-2005 12:24 PM
how 2 get ports having services currently running 00it45 Linux - General 5 03-11-2004 07:59 AM
Slackware n()()b and closing open ports/services osx Slackware 8 03-10-2003 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:39 AM.

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
Open Source Consulting | Domain Registration