Operating system: Debian
OS version: 10
Hello everyone, I have the following problem: I installed Webmin / Virtualmin two days ago and then added users. These users have access to FTP, email, SSH and jailkit is enabled. I set the shell to jk_chrootsh.
E.g:
username:x:1002:1000:First Lastname:/home/domain/homes/username:/usr/sbin/jk_chrootsh
If a user tries to log in via SSH, he will be logged in and the connection will be closed immediately. The following is what the log file says:
main jk_chrootsh[31523]: abort, homedir ‘/home/domain/homes/username’ for user username-domain (1002) does not contain the jail separator /./
For me, this suggests that the entries in /etc/passwd are not created correctly and that Jailkit is therefore not working. Did I miss something or is it a bug in the plugin?
Did i forgot to enable anything or do I have to enter another shell than jk_chrootsh?
Much thanks