LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2009, 02:14 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
unable to find /etc/inetd.conf file in fedora


hi all...

I have installed fedora 9 on my system .. I wanted to turnoff unused services but i was not able to find /etc/inetd.conf file....and i want to disable ssh service ...can anyone please help me...

Thanks in advance...

Last edited by vinaytp; 05-19-2009 at 02:19 AM.
 
Old 05-19-2009, 03:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,526

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
Fedora uses xinetd, so the file you're looking for is /etc/xinetd.conf and the control files under /etc/xinetd.d
To disable sshd run:
Code:
service sshd stop
chkconfig --del sshd
 
Old 05-19-2009, 04:49 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
xinetd.d directory is present crv and rsync are the two files in xinet.d but xinetd.conf is not present....i tried to find it out using locate xinetd.conf....
 
Old 05-19-2009, 05:27 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,526

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
Usually you don't have to edit xinetd.conf. All the work is done through the control files in /etc/xinetd.d directory. Anyway you can use the attached stock file (rename it to xinetd.conf).

Regards
Attached Files
File Type: txt xinetd.conf.txt (1,001 Bytes, 28 views)
 
  


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
inetd.conf file is missing prasad_ark Linux - Newbie 1 07-02-2008 02:40 AM
Why can't I find /etc/inetd.conf in Slackware11.0? naihe2010 Linux - Server 4 11-19-2006 06:44 PM
I can't find inetd.conf file for swat wampire Linux - Networking 1 02-11-2006 12:17 PM
Where is inetd.conf in fedora? jon_k Linux - Software 6 04-19-2004 02:11 AM
Need help to find inetd.conf ! _TK_ Linux - Newbie 29 05-30-2001 12:40 AM


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

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