Skip to content
Snippets Groups Projects
Commit 3d245ca6 authored by Till Brehm's avatar Till Brehm
Browse files

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

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

See merge request ispconfig/ispconfig3!728
parents f81f3ec8 1f59ad52
No related branches found
No related tags found
No related merge requests found
...@@ -399,7 +399,7 @@ class shelluser_jailkit_plugin { ...@@ -399,7 +399,7 @@ class shelluser_jailkit_plugin {
if($this->data['new']['active'] != 'y') $shell = '/bin/false'; 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']['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); $this->app->log("Added jailkit user to chroot with command: ".$command, LOGLEVEL_DEBUG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment