[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to run FTP service
On Sun, Feb 22, 2004 at 04:42:10PM +0000, david fu wrote:
> Dear experts:
>
> I wanna run /usr/libexec/ftpd -DllUSA command.
> But after i run, the machine said command didn't
> found. I checked I am in the directory /usr/libexec
> and i used ls to check whether the ftpd command in the
> directory. The answer is yes. I don't know what
> command i need to use to start a FTP service.
> Any solution Thanks
If you haven't done it already, read this:
"10.13 - Setting up Anonymous FTP Services"
http://openbsd.org/faq/faq10.html#AnonFTP
To have ftpd started at boot:
Copy /etc/rc.conf to /etc.conf.local
Edit the "ftp_flags" entry for what you want.
# Set to NO if ftpd is running out of inetd
ftpd_flags=NO # for non-inetd use: "-D"
or from the command line:
# /usr/libexec/ftpd -DllUSA
or if your already in the /usr/libexec directory:
# ./ftpd -DllUSA
Finally, read this:
"2.3 - Manual Pages"
http://openbsd.org/faq/faq2.html#ManPages
--
Christopher D. Palmer