Commit 3d245ca6 authored by Till Brehm's avatar Till Brehm

Merge branch 'patch-1' into 'stable-3.1'

Fix bug in plugin when creating new jailkit shell user.…

See merge request !728
parents f81f3ec8 1f59ad52
......@@ -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