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:
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?
Edit: ISPConfig 2.2.11