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

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 <> wrote:

From: Daniel Stasinski <>
Subject: Re: Determin which FTP server is running and turn off non secure FTP
To: "Main PLUG discussion list" <>
Date: Wednesday, June 23, 2010, 4:13 PM



On Wed, Jun 23, 2010 at 3:50 PM, keith smith <> 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
|           | http://www.disabilities-r-us.com



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





-----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