LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-11-2005, 12:24 PM   #1
branden_burger
Member
 
Registered: Dec 2004
Posts: 66

Rep: Reputation: 15
stopping services not in xinetd.d


I have a bunch of services that are not chkconfig-ed to run, and nor are they in the /etc/xinetd.d directory. But they start everytime on boot. AND they're all qmail related - any ideas how to start/stop them?

106/tcp open pop3pw
110/tcp open pop-3

Thanks
 
Old 04-12-2005, 08:00 AM   #2
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

there are couple of ways in doing this.

Run this cmd to disable all xinetd services chkconfig xinetd off

If for some reason u need xinetd service running then u may edit this file and remove or comment out the service not being used.
vi /etc/xinetd.conf

cheers
 
Old 04-12-2005, 08:34 PM   #3
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
try this:

chkconfig --list

if you see the item in there then do this:

chkconfig --level 0123456 qmailstuff off

that should stop it.

if still no luck then check /etc/init.d/ (this varies depending on distribution)

see what files are in there, these are your startup files, find the naughty ones and move them somewhere else.

If you are using redhat you can also use the services UI and uncheck the bad ones.
 
  


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
disabling stopping services ganxteh Fedora 6 12-17-2004 10:24 PM
Listing/Stopping Running Services mooreted Slackware 15 08-20-2004 10:09 AM
xinetd /etc/services iftiuk Linux - Networking 7 04-17-2004 12:36 AM
stopping services? piglingz Linux - Software 3 06-24-2003 04:26 PM
stopping and starting services nero64 Linux - Newbie 3 11-13-2002 01:10 AM

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

All times are GMT -5. The time now is 01:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration