Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
952f9d07
Commit
952f9d07
authored
Aug 18, 2011
by
tbrehm
Browse files
Fixed: FS#1711 - creating a jailkit user fails
parent
e28b0e91
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/shelluser_jailkit_plugin.inc.php
View file @
952f9d07
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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