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

keith smith klsmith2020 at yahoo.com
Wed Jun 23 19:19:33 MST 2010


I have a /etc/xinetd.conf which has not entry for FTP.


------------------------

Keith Smith

--- On Wed, 6/23/10, walter tocalini <curonet at gmail.com> wrote:

From: walter tocalini <curonet 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: Wednesday, June 23, 2010, 6:54 PM

 Pure-FTPD runs in standalone in inetd. just commented out the ftp line in /etc/inetd.conf and will do the trick

last resource remove it,
WT

On Wed, Jun 23, 2010 at 6:42 PM, Eric Shubert <ejs at shubes.net> wrote:

keith smith wrote:




I was looking around and found  SERVICEDIR="/etc/init.d"   in the /sbin/service file.  So I took a look in the /etc/init.d and found pure-ftpd.



So I issued : /sbin/service pure-ftpd stop





which returned :





Stopping pure-config.pl: cat: /var/run/pure-ftpd.pid: No such file or directory



kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]




Far from elegant, but it appears that pure-ftpd wasn't running.



# service pure-ftpd status



usually will tell you if a service is running or not.






As a test I issued : /sbin/service vsftpd stop



which returned : vsftpd: unrecognized service




Then vsftpd isn't installed.





# rpm -qf /etc/init.d/pure-ftpd

will tell you the name of the package that owns the init script.

# rpm -e <package>

or

# yum remove <package>

will remove it.

Then you might want to reboot to be sure it's not running any more. If you have sftp working, chances are pretty good that pure-ftpd isn't running, unless you're using non-standard ports.



-- 

-Eric 'shubes'



---------------------------------------------------

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


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100623/36a6fcdf/attachment.html>


More information about the PLUG-discuss mailing list