How do I disable ftp in /etc/xinetd.conf  ?

Posted on 2011-04-22
Last Modified: 2012-05-11
I am trying to get servers past QA

I need to shut down ftp in redhat   4/5

Question by:TIMFOX123
    LVL 9

    Expert Comment

    LVL 38

    Accepted Solution

    You should see at the bottom of /etc/xinetd.conf
    includedir   /etc/xinetd.d

    So the ftp setting is in /etc/xinetd.d/
    there is a file called "ftp"
    and edit that file
    service ftp
        disable   = yes     #<=== set to yes

    Then as root, restart xinetd
    # service xinetd restart

    # netstat -lpn
    Make sure port 21/22 are not LISTEN.

    Author Closing Comment

    LVL 9

    Expert Comment

    Why dont I get any points my Second link ( 35448608) Clearly says the same thing as wesly_chen post!!!!!
    LVL 38

    Expert Comment

    meko72, sorry , I didn't check your posted URL.

    OK for me to transfer the points to meko72. :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now