Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-29-2003, 06:09 AM   #1
LQ Newbie
Registered: Jun 2003
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
turn off daemons


I did a full install of slackware 9.0. i was told that it is better to turn off all the unwanted daemons so taht the system can be more secure...

how to list all the daemons i'm running at the background and foremostly how to turn them off?

i only use slackware to surf net and do some php scripting . any ideas which daemons could be turned off safely? (like sendmail, newsserver, etc etc?)

Old 06-29-2003, 06:16 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
ps aux

This should list your daemons, to shut them off, look into /etc/rc.d and find which script is starting them. Comment the lines referring to that daemon, OR chmod 000 the rc file if nothing in there is what you want (rc.sendmail maybe).

I'd turn off:
mysql (unless your PHP scripts need it)

Old 06-29-2003, 09:26 AM   #3
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
It might be an idea to turn off finger and ping as well, unless you need them (in which case you could always start them up manually). Also, be sure to set up a nice IPTables firewall.
Old 06-30-2003, 01:20 PM   #4
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
Also, as root, open up /etc/inetd.conf .. Comment out any unwanted services then at the console, do "ps ax | grep inetd" .. once you have the PID, type "kill -HUP <pid of inetd>" .. that should restart it and re-read inetd.conf with the new changes made.


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
How to start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 09:39 AM
turn off doesn't really turn and power off pcandpc Mandriva 11 05-30-2005 03:22 PM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 08:05 AM
Daemons mariua Linux - Newbie 0 10-11-2001 05:00 AM
daemons acren Linux - Security 3 07-06-2001 04:28 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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