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

keith smith klsmith2020 at yahoo.com
Wed Jun 23 18:23:06 MST 2010


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]
As a test I issued : /sbin/service vsftpd stop 

which returned : vsftpd: unrecognized service




	
	




	

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

Keith Smith

--- On Wed, 6/23/10, Daniel Stasinski <daniel at avenues.org> wrote:

From: Daniel Stasinski <daniel at avenues.org>
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, 4:13 PM



On Wed, Jun 23, 2010 at 3:50 PM, keith smith <klsmith2020 at yahoo.com> wrote:


I have a CentOS server that I am working on.  Got SFTP working and now I want to turn off plain FTP.



For Centos do both of these as root:

   chkconfig --del vsftpd
   service vsftpd stop

The first line stops it from running on boot and the second kills the current instance of it.



Daniel
-- 
| ---------------------------------------------------------------
| Daniel P. Stasinski          | http://www.saidsimple.com
| daniel at avenues.org           | http://www.disabilities-r-us.com


| XMMP: mooooooo at avenues.org   | http://www.avenues.org
| Google Talk: mooooooo        | http://www.scriptkitties.com




-----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/55431f5e/attachment.html>


More information about the PLUG-discuss mailing list