• Alexis Lahouze's avatar
    Fix home initialization for Jailkit. · 95d2ca4a
    Alexis Lahouze authored
    The previous dir (without `./home/$user`) causes usermod to crash when some FPM processes are already launched for the UID (in `server/scripts/create_jailkit_user.sh`), so jk_jailuser is not able to detect the home inside the jail, inserting an empty one in the passwd file, and causing an error when the user want to connect via SSH for example.
shelluser_base_plugin.inc.php 21.7 KB