HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   How to ftp into the root directory of debian? (http://www.howtoforge.com/forums/showthread.php?t=1614)

new_bee05 10th December 2005 01:14

How to ftp into the root directory of debian?
 
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.

till 10th December 2005 13: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.

themachine 10th December 2005 16: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:


chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list


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.)


All times are GMT +2. The time now is 14:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.