a backup server by RSYNC + SSH in a chrooted environment
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:
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
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?
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
Not sure if this is the problem, but did you disable SELinux?
|All times are GMT +2. The time now is 00:56.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.