View Full Version : How to ftp into the root directory of debian?

10th December 2005, 02:14
I can ftp into the server using admin, this only gives me access to /home/admin. Can I ftp into the root directory, I have tried using root user but no luck. Any suggestions would help.

10th December 2005, 14:08
You can use a program like winSCP to upload files to the root user directory. In FTP the root user is normally disabled, beacuse FTP transfers the passwords unenecrypted and that is fairly insecure.

10th December 2005, 17:33
root can not ftp in per the configuration of most ftp servers. the reason you can only see /home/admin is becuase your ftp server is configured to 'chroot' user's to their home directories for securty reasons.

what ftp server are you using, and I can help you configure it otherwise.

For example, I use vsFTPd and the configuration that I use is something like:


With this configuration, all users are chrooted by default, but users listed in "/etc/vsftpd.chroot_list" have unchrooted access to the entire filesystem. (not necessarily recommended if your not using an encrypted connection.)