Wrong homedir in jailed /etc/passwd
When I create a shell user with Jailkit set it works ok but the settings of his homedir in jailed /etc/passwd is empty. So in the system passwd file there is (i changed the numbers to differ from my production system):
and in the jailed passwd (/var/www/clients/client1/web1/etc/passwd) is following:
there is no home dir. I would expect according to settings in ispconfig to have "/home/testuser" to be there.
Also, when i do following under that user, I get the correct dir:
echo $HOME /home/testuser
The problem is with git client which by default looks for files ~/.ssh/id_rsa and ~/.ssh/config to find deployment keys - but it is looking thorugh passwd file to get home dir. So it is directed to /.ssh folder instead of /home/testuser/.ssh - so I cant even have different deployment keys for different shell users.
When i manually edit the chrooted passwd file to following:
everything is working as expected.
Server OS: Debian Server OS version: 9 ISPConfig version: 3.1.11