How to ftp into the root directory of debian?

Discussion in 'Server Operation' started by new_bee05, Dec 10, 2005.

  1. new_bee05

    new_bee05 New Member

    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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. themachine

    themachine New Member HowtoForge Supporter

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

Share This Page