Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
11deb6d0
Commit
11deb6d0
authored
Aug 25, 2009
by
tbrehm
Browse files
Fixed problem when jailkit user is inserted.
parent
07bdbdfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/shelluser_jailkit_plugin.inc.php
View file @
11deb6d0
...
...
@@ -85,15 +85,15 @@ class shelluser_jailkit_plugin {
$this
->
app
=
$app
;
$this
->
jailkit_config
=
$app
->
getconf
->
get_server_config
(
$conf
[
"server_id"
],
'jailkit'
);
$command
.
=
'usermod -U '
.
escapeshellcmd
(
$data
[
'new'
][
'username'
]);
exec
(
$command
);
$this
->
_update_website_security_level
();
$this
->
_add_jailkit_user
();
$this
->
_setup_jailkit_chroot
();
$this
->
_add_jailkit_user
();
$command
.
=
'usermod -U '
.
escapeshellcmd
(
$data
[
'new'
][
'username'
]);
exec
(
$command
);
$this
->
_update_website_security_level
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment