FTP Services

The File Transfer Protocol daemon (ftpd)

ftp

wu-ftpd

tftpd

vsftpd

 

Default directory for anonymous users:

/var/ftp/

User permissions:

/etc/ftpusers

You could remove the line:
deny-uid %-99 %65534-
to allow remote root access
but you won’t!

/etc/ftpaccess

You would also need to remove the line:
deny-gid %-99 %65534-
here to allow remote root access.
But don’t.

If you’re using vsftpd:

/etc/vsftp.ftpusers

/etc/fsftp.ftp.user_list

You could remove the line:
root
from both these files to allow remote root access.

 

Safe sharing:

1. Create a user devoted to ftp. The user name ftp, however, is likely to be taken already on your computer. Choose another name, say, chuck.

2. chuck should have a home at /home/chuck. Go there. Create a subdirectory called ftp.

3. chown chuck ftp #since you created it but you’re not chuck

4. Edit /etc/xinetd.d/wu-ftpd

Change:
disable = yes
to:
disable = no

5. /etc/xinetd.d/wu-ftpd restart