Hello,
I've just discovered that my shell users aren't chrooted. Yikes!
Anyhow, I followed the Howto that Falko pointed to and all seemed to go well, but I'm not getting the desired behaviour. None of my users can log in - they are all greeted with a
/bin/bash file or directory does not exist error when they try to log in.
I have enabled the chroot option in config.inc.php and bash does exist in /chroot/home/bin.
I have restarted both ssh and ispconfig_server.
My users from /etc/passwd look like this:
Code:
test.domain:x:1008:1013:test:/var/www/web13/user/test.domain/./:/bin/bash
which looks right to me in that the '.' appears in the right place. I'm not sure why ISPConfig is putting a :/bin/bash after it, though, but I'm not chroot expert by any means so that may be correct.
The user in question has the shell access option checked under his user settings and the web in question has shell access enabled as well.
Any idea where I'm going wrong?
Thanks!
Edit: ISPConfig 2.2.11
Recent comments
1 day 4 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 21 hours ago
2 days 10 hours ago
2 days 11 hours ago