a backup server by RSYNC + SSH in a chrooted environment

Discussion in 'Server Operation' started by paguira, Aug 21, 2008.

  1. paguira

    paguira New Member

    Good morning,
    I try to set up a backup server by RSYNC + SSH in a chrooted environment.
    Only SCP, SFTP and RSYNC will be used and usable for users.
    And I want to establish quotas for these users.
    I use CentOS5 note Fedora
    I tested script:


    But in both cases, when I connect with the user's account I have an immediate disconnection

    I tested the script "make_chroot_jail.sh" according to the following procedure:

    I had the following problem:
    What I set like this:
    comment "requiretty Defaults" in "/etc/sudoers"

    ld-lsb.so.1 is replaced by ld-lsb.so.3 in the script "make_chroot_jail.sh" REDHAT

    Nevertheless I find it impossible to connect me with ssh and WinSCP, I have an immediate disconnection, my logs:

    P.S: excused my English, I'm french Reply With Quote
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you get any errors when you ran the script?
    Is the chrooted user listed in /home/chroot/etc/passwd and /home/chroot/etc/shadow?
  3. paguira

    paguira New Member

    I have no error.

    Except with "libxcrypt"
    But according to the tutorial "HowForge" This is not a problem

    I forget to say that I'm on CentOS 5



  4. falko

    falko Super Moderator ISPConfig Developer

    Not sure if this is the problem, but did you disable SELinux?

Share This Page