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
4 hours 59 min ago
5 hours 59 min ago
9 hours 46 min ago
11 hours 8 sec ago
14 hours 36 min ago
21 hours 51 min ago
1 day 6 hours ago
1 day 8 hours ago
1 day 23 hours ago
2 days 1 hour ago