Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Well, if you install vsftpd via ports and you add vsftpd_enable="YES" to
your rc.conf you will need to have/create an startup file that goes in
/usr/local/etc/rc.d
If you use inetd to start vsftpd then you will have to add a line to your
inetd.conf and reload inetd but when you start vsftpd in stand alone mode
and I guess that this is what you want to do, you will have to create a
script in /usr/local/etc/rc.d and name it for exemple vsftpd.sh
This is my script:
#!/bin/sh
#
/usr/local/sbin/vsftpd &
-------------
/usr/local/sbin/vsftpd
--> the location of your "vsftpd"
If you use inetd to start vsftpd then you will have to add a line to your
inetd.conf and reload inetd but when you start vsftpd in stand alone mode
and I guess that this is what you want to do, you will have to create a
script in /usr/local/etc/rc.d and name it for exemple vsftpd.sh
This is my script:
#!/bin/sh
#
/usr/local/sbin/vsftpd &
I have vsftpd running in stand alone mode. I have always started it by typing "vsftpd &" at the terminal screen after rebooting. I wanted to have it load on startup and tried this script. I am using Suse 9.1 and instead of placing the script in the rc.d folder, it gets placed in init.d folder. When opening the runlevel editor in Yast, I can now see vsftpd listed. Everytime I try to start it from inside if Yast, I get a "permission denied" error. I can still start it from the terminal screen, but getting it to load on startup is not working. Any other suggestions?
Well, if you install vsftpd via ports and you add vsftpd_enable="YES" to
your rc.conf you will need to have/create an startup file that goes in
/usr/local/etc/rc.d
If you use inetd to start vsftpd then you will have to add a line to your
inetd.conf and reload inetd but when you start vsftpd in stand alone mode
and I guess that this is what you want to do, you will have to create a
script in /usr/local/etc/rc.d and name it for exemple vsftpd.sh
This is my script:
#!/bin/sh
#
/usr/local/sbin/vsftpd &
-------------
/usr/local/sbin/vsftpd
--> the location of your "vsftpd"
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe