Sorry to continue with this simple simple thing but
I added the following line to rc.conf
and then reboot. After that I check if vsftpd is running #ps aux | grep ftp
and I don't see it.
Can you point out what I am doing wrong?
The rc.conf file(s) are for -environment variables- only, that are used
by the script in /etc/rc.
The proper place for local shell scripting at startup is /etc/rc.local.
If you -do- ever want to set rc(8) environment variables, consider creating
an /etc/rc.conf.local file.
Please read the FAQ. You'll find a great deal of help within it, especially
suited to questions like yours.
Alfredo said to add an entry to /etc/rc.local not rc.conf .. if you have
read the documentation you would have known that rc.conf should not be
edited(/etc/rc.conf - Configuration file used by //etc/rc/ to set
startup parameters for the system. Should not be edited.)
So if you want to start vsftpd at startup just make sure that you have
LISTEN=YES in /etc/vsftpd.conf and this lines below in rc.local
if [ -x /usr/local/sbin/vsftpd ]; then
echo -n ' vsftpd'; /usr/local/sbin/vsftpd &