shell user (jailkit) and cron job errors

Hi, I have a new installation with ISPConfig 3.1.9 and Debian 9.2

At the beginning of December, I created a user shell with jailkit. Yesterday, I deleted it.

Today, I created a cronjob. The cronjob... does not work.

Here is the log:

Dec 27 20:30:01 vps108 jk_chrootsh[13359]: abort, username web1 differs from jail username myShellUser for user ID 5004, check /etc/passwd and /var/www/clients/client1/web1/etc/passwd

Here are the several bugs encountered:

  • The first one is the cronjob that does not work :)

  • The 2nd, is that I noticed that when we delete a shell user with Jailkit, it is not removed totally from /etc/passwd

on the create:

web1:x:5004:5005::/var/www/clients/client1/web1/./home/myShellUser:/usr/sbin/jk_chrootsh myShellUser:x:5004:5005::/var/www/clients/client1/web1/./home/myShellUser:/usr/sbin/jk_chrootsh

after delete:

web1:x:5004:5005::/var/www/clients/client1/web1/./home/myShellUser:/usr/sbin/jk_chrootsh

in principle, it should become:

web1:x:5004:5005::/var/www/clients/client1/web1:/bin/false

  • The 3rd in /var/www/clients/client1/web1 there are still the directories of root as 'bin','dev','etc','home','lib','lib64','usr','var'. Why not delete these directories?

Thank you, Mickael

Edited by Mickael Monsieur