Commit 952f9d07 authored by tbrehm's avatar tbrehm

Fixed: FS#1711 - creating a jailkit user fails

parent e28b0e91
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment