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 <[email protected]> wrote:
From: Daniel Stasinski <[email protected]>
Subject: Re: Determin which FTP server is running and turn off non secure FTP
To: "Main PLUG discussion list" <[email protected]>
Date: Wednesday, June 23, 2010, 4:13 PM
On Wed, Jun 23, 2010 at 3:50 PM, keith smith <[email protected]> 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
| [email protected] | http://www.disabilities-r-us.com
| XMMP: [email protected] | http://www.avenues.org
| Google Talk: mooooooo | http://www.scriptkitties.com
-----Inline Attachment Follows-----
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss