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@avenues.org> wrote:

From: Daniel Stasinski <daniel@avenues.org>
Subject: Re: Determin which FTP server is running and turn off non secure FTP
To: "Main PLUG discussion list" <plug-discuss@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@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@avenues.org           | http://www.disabilities-r-us.com
| XMMP: mooooooo@avenues.org   | http://www.avenues.org
| Google Talk: mooooooo        | http://www.scriptkitties.com

-----Inline Attachment Follows-----

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