Add new comment
Do you like HowtoForge? Please consider to support us by becoming a subscriber.
|
Great stuff, been looking for something like that for ages. However it took me some time to figure out why it does not chroot on one of machines, for an account with non-default home dir ( not /home/$user ), It does not read the home dir from /etc/passwd, but from /etc/ssh/sftp_config I was getting access denied error for the home dir specified in /etc/passwd ( not /home/$user ) when issuing ls command, and pwd returned the complete dir not just "/" Sorted that by adding <Group mygroup> to /etc/ssh/sftp_config
Reply |




Recent comments
16 hours 53 min ago
17 hours 38 min ago
1 day 5 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 22 hours ago