Linux FTP
/etc/pam.d/ftpd

To allow anonymous ftp uncomment the following  line in /etc/pam.d/ftpd
sufficient /lib/security/pam ftp.so

/etc/ftpaccess

In addition, in the file /etc/ftpaccess before " limit all 10 Any /etc/ftpmsg.dead" add
class all real,anonymous *

At the end of the file add..

# limit of 20 connections
limit local 20 Any /usr/local/ftp/msgs/msg.dead
limit remote 20 Any /usr/local/ftp/msgs/msg.dead
# do not check password for anonymous logins
#passwd-check rfc822 warn - changed to...
passwd-check none
noretrieve /etc/passwd /etc/group core .notar
noretrieve /usr/local/ftp/incoming
# do not allow these commands for anonymous users
chmod no guest,anonymous
delete no guest,anonymous
overwrite no guest,anonymous
rename no guest,anonymous
umask no guest,anonymous
# specify the upload directory information
upload /usr/local/ftp * no nobody nogroup 0000 nodirs
upload /usr/local/ftp /bin no
upload /usr/local/ftp /etc no
#upload /usr/local/ftp /incoming yes root daemon 0600 nodirs
Email us at Info@AHinc.com
© Advanced Horizons, Inc. All Rights Reserved