Hello,
can I use chroot users in their home directories under centos 5.* using standard packages ? How about chrooted sftp in centos 5.* ? If I cannot - do I have to use centos 6.* ?
Regards Przemek
---------------------------------------------------------------- Dom pod miastem lub mieszkanie w centrum znajdziesz wlasnie tu! http://linkint.pl/f2a58
2011/10/7 Jorge Fábregas jorge.fabregas@gmail.com:
On 10/07/2011 05:42 AM, przemolicc@poczta.fm wrote:
How about chrooted sftp in centos 5.* ? If I cannot - do I have to use centos 6.* ?
The stock SSH package in the CentOS 5 series doesn't have the chroot functionality. The one in CentOS 6 does.
HTH, Jorge
The stock sshd actually does support chroot, but it's an all-or-nothing type of thing. You cannot apply the chroot only to specific groups, so even 'root' is chrooted.
There are 3rd party OpenSSH 5.x packages available that work on CentOS 5 and give you the ability to set the chroot by groups.
-☙ Brian Mathis ❧-