From 952f9d07b8ddc1691f5244cc3549126b600545cf Mon Sep 17 00:00:00 2001 From: tbrehm Date: Thu, 18 Aug 2011 09:22:38 +0000 Subject: [PATCH] Fixed: FS#1711 - creating a jailkit user fails --- server/plugins-available/shelluser_jailkit_plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins-available/shelluser_jailkit_plugin.inc.php b/server/plugins-available/shelluser_jailkit_plugin.inc.php index c43ef86d52..31db30f55d 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(); -- GitLab