LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How do you switch from proftpd to vsftpd? (https://www.linuxquestions.org/questions/slackware-14/how-do-you-switch-from-proftpd-to-vsftpd-530248/)

slee97070 02-18-2007 06:58 PM

How do you switch from proftpd to vsftpd?
 
We want to switch but how do we stop proftpd so vsftpd can start?

xflow7 02-18-2007 07:49 PM

Disclaimer: I'm not an expert. :)

If proftp is being started by inetd (I believe this would be the default) I think it should be as simple as editing /etc/inetd.conf and changing the following lines:

Code:

# Very Secure File Transfer Protocol (FTP) server.
#ftp    stream  tcp    nowait  root    /usr/sbin/tcpd  vsftpd
#
# Professional File Transfer Protocol (FTP) server.
ftp    stream  tcp    nowait  root    /usr/sbin/tcpd  proftpd
#

to this:

Code:

# Very Secure File Transfer Protocol (FTP) server.
ftp    stream  tcp    nowait  root    /usr/sbin/tcpd  vsftpd
#
# Professional File Transfer Protocol (FTP) server.
#ftp    stream  tcp    nowait  root    /usr/sbin/tcpd  proftpd
#

and then running:

Code:

/etc/rc.inetd restart

ryanoa 02-18-2007 07:55 PM

What xflow7 suggested is correct for starting vsftp, but it may or may not stop proftp. You could find the PID of proftp with
Code:

ps -e
and then kill the process

Tomtherab 02-19-2007 03:36 AM

Once you make those changes to your /etc/inetd.conf file, you can kill proftp and start vsftp by killing and restarting inted.

The easiest way to do that IMO is to use the slack scripts.

As root:
# /etc/rc.d/rc.inetd restart


All times are GMT -5. The time now is 11:31 PM.