LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01:14 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

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 01:19 AM.
 
Old 05-19-2009, 02:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 03:49 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

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, 04:27 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 41 views)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 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