Add new comment
Do you like HowtoForge? Please consider supporting 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
12 hours 2 min ago
17 hours 50 min ago
19 hours 42 min ago
21 hours 27 min ago
1 day 1 hour ago
1 day 7 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 17 hours ago
1 day 22 hours ago