Add new comment
Want to support HowtoForge? Become 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
19 hours 10 min ago
23 hours 59 min ago
1 day 4 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 21 hours ago