vsftpd

Previous thread: "ugenpoll: no edesc" - many complaints by Zbigniew on Tuesday, October 6, 2009 - 8:46 am. (1 message)

Next thread: with ip-stealth balancing syn-ack gets blocked on the wrong firewall by Imre Oolberg on Tuesday, October 6, 2009 - 1:22 pm. (3 messages)
From: Alfredo Perez
Subject: vsftpd
Date: Tuesday, October 6, 2009 - 11:58 am

Hi

Is there a way to start vsftpd at boot time?

Thanks is advance

Alfredo
The Sauce

From: Han Boetes
Subject: Re: vsftpd
Date: Tuesday, October 6, 2009 - 12:28 pm

Sure, add an entry for it in /etc/rc.local



# Han

From: Alfredo Perez
Subject: Re: vsftpd
Date: Tuesday, October 6, 2009 - 3:18 pm

Sorry to continue with this simple simple thing but

I added the following line to rc.conf

/usr/local/sbin/vsftpd

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?

Thanks

Alfredo
The Sauce


From: Josh Grosse
Subject: Re: vsftpd
Date: Tuesday, October 6, 2009 - 3:54 pm

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.

From: Valentin Stoicescu
Subject: Re: vsftpd
Date: Tuesday, October 6, 2009 - 4:17 pm

hi,
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 &

From: Han Boetes
Subject: Re: vsftpd
Date: Wednesday, October 7, 2009 - 8:35 am

^^^^^^^^^^^^^

And please use bottom quoting since it makes email messsages
logical and easy to follow up unto.



# Han

From: Gilles Chehade
Subject: Re: vsftpd
Date: Tuesday, October 6, 2009 - 12:39 pm

man 8 rc.local

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

		   http://www.poolp.org

Previous thread: "ugenpoll: no edesc" - many complaints by Zbigniew on Tuesday, October 6, 2009 - 8:46 am. (1 message)

Next thread: with ip-stealth balancing syn-ack gets blocked on the wrong firewall by Imre Oolberg on Tuesday, October 6, 2009 - 1:22 pm. (3 messages)