10/21/2010

FTP Server - ProFTPD

[root@www ~]# yum --enablerepo=dag -y install proftpd # install from DAG

[root@www ~]# vi /etc/proftpd.conf

# line 4: change to your hostname
ServerName "www.server.world"

# line 6: change to your email address
ServerAdmin root@server.world

# add near line 79
# get access log
ExtendedLog /var/log/proftpd/access.log WRITE,READ default
# get auth log
ExtendedLog /var/log/proftpd/auth.log AUTH auth

[root@www ~]# vi /etc/ftpusers

# add users you prohibit to FTP access
test

[root@www ~]# /etc/rc.d/init.d/proftpd start
Starting proftpd: [ OK ]
[root@www ~]# chkconfig proftpd on

No comments:

Post a Comment