Re: Determin which FTP server is running and turn off non se…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: keith smith
Date:  
To: Main PLUG discussion list
Subject: Re: Determin which FTP server is running and turn off non secure FTP
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 <> wrote:

From: Dan Dubovik <>
Subject: Re: Determin which FTP server is running and turn off non secure FTP
To: "Main PLUG discussion list" <>
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 <> 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 -

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 -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss