Determin which FTP server is running and turn off non secure FTP

Tom Jones tjones136 at cox.net
Thu Jun 24 13:51:45 MST 2010


Did you restart xinetd after moving the files?


keith smith <klsmith2020 at yahoo.com> wrote:

>Thanks for your reply.
>
>/usr/sbin/lsof -i :21 
>
>returns
>
> xinetd     2417     root    6u  IPv4     6699       TCP *:ftp (LISTEN)
>
>I have looked all around and have search Google for hours.
>
>In these two files there was a reference to pure-ftpd   
>/etc/xinetd.d/ftp 
>/etc/xinetd.d/ftp-tls  
>
>So I moved them to another directory.  Nothing changed.
>
>This is a manged server and the data center guy said "usually pure FTP is run via xinetd, There is nothing to turn off. Remove the service from xinetd
>
>I am at a loss.
>
>Any help much appreciated. 
>
>  
>
>
>------------------------
>
>Keith Smith
>
>--- On Thu, 6/24/10, Dan Dubovik <dandubo at gmail.com> wrote:
>
>From: Dan Dubovik <dandubo at gmail.com>
>Subject: Re: Determin which FTP server is running and turn off non secure FTP
>To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
>Date: Thursday, June 24, 2010, 11:51 AM
>
>rpm -qa | grep ftp ?
>also chkconfig --list
>
>at the bottom of the list will be the xinetd based services.
>Find the FTP daemon in there, and:
>chkconfig [daemon_name] off
>
>
>On Wed, Jun 23, 2010 at 10:56 PM, walter tocalini <curonet at gmail.com> wrote:
>
> Keith let asume that you use yum to install pure-ftp and you use---and you did not use nothing else to configure pure-ftp than chkconfig,
>
>
>
>-----yum install pure-ftpd
>
>now after that you create the system startup links
>
>
>----chkconfig --levels xx pure-ftpd on (xx =whatever level you use)
>or 
>----chkconfig  pure-ftpd on
>
>then or just reboot OS
>----/etc/init.d/pure-ftpd start
>
>now check if is listed
>
>----chkconfig --list pure-ftpd
>
>then you command will be
>
>
>
>----/etc/init.d/pure-ftpd stop
>
>
>now using chkconf you will remove the startup link
>
>----chkconfig --levels xx pure-ftpd off
>or
>----chkconfig pure-ftpd off
>
>now that should do it,
>
>
>
>
>good luck
>
>WT
>
>
>---------------------------------------------------
>
>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>
>To subscribe, unsubscribe, or to change your mail settings:
>
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
>-----Inline Attachment Follows-----
>
>---------------------------------------------------
>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change your mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>     
>---------------------------------------------------
>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change your mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list