« How to add new users in Cygwin for SFTP access | Main | Information about installing MySQL and DBD::MySQL on Cygwin »
November 04, 2005
Setting up ProFTPd as a Windows service under Cygwin
In order to run ProFTPd as a Windows service under Cygwin the following needs to be set in the /etc/proftpd.conf file:
# Set the user and group under which the server will run. User SYSTEM Group Administrators # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. DefaultRoot ~
The server can then be run as a service:
cygrunsrv --install proftpd \
--path /usr/sbin/proftpd.exe \
--args "--nodaemon" \
--type manual \
--disp "CYGWIN proftpd" \
--desc "ProFTPd FTP daemon"
Then it needs to be run:
cygsrunsrv --start proftpd
Tags: Cygwin
Posted by pj at November 4, 2005 09:19 AM