Filipe Brandenburger wrote:
Hi,
Is anyone chrooting users that connect through SSH?
Just the other week sshd 4.9 enabled chroot for the first time I think. Fairly new stuff. You'll have to roll your own rpm for CentOS as it will be unlikely that they roll it - probably not even for 5.2 either.
* Added chroot(2) support for sshd(8), controlled by a new option "ChrootDirectory". Please refer to sshd_config(5) for details, and please use this feature carefully. (bz#177 bz#1352)
pam_chroot might get deprecated.
-eric