Skip to content

Commit 952f9d0

Browse files
committed
Fixed: FS#1711 - creating a jailkit user fails
1 parent e28b0e9 commit 952f9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/shelluser_jailkit_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function insert($event_name,$data) {
9494
// call the ssh-rsa update function
9595
$this->_setup_ssh_rsa();
9696

97-
$command .= 'usermod -U '.escapeshellcmd($data['new']['username']);
97+
$command .= 'usermod -s /usr/sbin/jk_chrootsh -U '.escapeshellcmd($data['new']['username']);
9898
exec($command);
9999

100100
$this->_update_website_security_level();

0 commit comments

Comments
 (0)