We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e28b0e9 commit 952f9d0Copy full SHA for 952f9d0
1 file changed
server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -94,7 +94,7 @@ function insert($event_name,$data) {
94
// call the ssh-rsa update function
95
$this->_setup_ssh_rsa();
96
97
- $command .= 'usermod -U '.escapeshellcmd($data['new']['username']);
+ $command .= 'usermod -s /usr/sbin/jk_chrootsh -U '.escapeshellcmd($data['new']['username']);
98
exec($command);
99
100
$this->_update_website_security_level();
0 commit comments