Commit 1f59ad52 authored by Costin's avatar Costin

Fix typo in parent user related variable when creating new jailkit shell user....

Fix typo in parent user related variable when creating new jailkit shell user. This bug was interfering with the correct functioning of the plugin.
parent f81f3ec8
......@@ -399,7 +399,7 @@ class shelluser_jailkit_plugin {
if($this->data['new']['active'] != 'y') $shell = '/bin/false';
$app->system->usermod($this->data['new']['username'], 0, 0, $this->data['new']['dir'].'/.'.$jailkit_chroot_userhome, $shell);
$app->system->usermod($this->data['new']['puser'], 0, 0, $this->data['new']['dir'].'/.'.$jailkit_chroot_userhome, '/usr/sbin/jk_chrootsh');
$app->system->usermod($this->data['new']['puser'], 0, 0, $this->data['new']['dir'].'/.'.$jailkit_chroot_puserhome, '/usr/sbin/jk_chrootsh');
$this->app->log("Added jailkit user to chroot with command: ".$command, LOGLEVEL_DEBUG);
......
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