How to install glftpd in CentOS: [Tutorial by Kent C.]
This was done on the following kernel [All CentOS should be similar and work with the following method below):
[root@ ~]# uname -a
Linux 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:06 EDT 2012 i686 i686 i3
86 GNU/Linux
yum install zip unzip openssl xinetd
yum groupinstall "Development Tools"
wget
http://glftpd.dk/files/glftpd-LNX_2.01.tgz
tar -zxvf glftpd-LNX_2.01.tgz
mv glftpd-LNX_2.01 glftpd
cd glftpd
./installgl.sh
Answer shell prompts as below:
Use tcpd? [Y]es [N]o: N
Use a jailed environment? [Y]es [N]o: Y
Please enter the private directory to install glftpd inside [/jail]: /jail
What would you like your private group to be called? : private
Who should have access to glftpd? (separate with ,): puppylinux431.com,kentcakaburnout
Please enter the directory inside /jail to install glftpd to [/glftpd]:/glftpd
Press <enter> for the default (glftpd)> glftpd
Enter the port you would like glftpd to listen on [1337]: 1616
This is for glftpd's reset binary (see docs for more info) [Y/N]: Y
Please specify location, inside /jail/glftpd, to install the cert (ftpd-dsa.pem) [/etc]: /etc
(press enter for glftpd): glftpd
Once this completes you should see the following:
Congratulations, glFtpD has been installed.
Start glftpd:
/etc/init.d/xinetd start
First Time Login(from terminal) :
ftp 127.0.0.1 1616
Name (127.0.0.1:root): glftpd
331 Password required for glftpd.
Password:glftpd
230 User glftpd logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>