diff --git a/server/plugins-available/shelluser_jailkit_plugin.inc.php b/server/plugins-available/shelluser_jailkit_plugin.inc.php index c43ef86d522f349b3a2d444982333bd047a97f49..31db30f55d81ad16f3c6ba72f99fba78a87d3234 100755 --- a/server/plugins-available/shelluser_jailkit_plugin.inc.php +++ b/server/plugins-available/shelluser_jailkit_plugin.inc.php @@ -94,7 +94,7 @@ class shelluser_jailkit_plugin { // call the ssh-rsa update function $this->_setup_ssh_rsa(); - $command .= 'usermod -U '.escapeshellcmd($data['new']['username']); + $command .= 'usermod -s /usr/sbin/jk_chrootsh -U '.escapeshellcmd($data['new']['username']); exec($command); $this->_update_website_security_level();