tbrehm
2009-08-25 11deb6d0a078a7c6fd3d09c17e0c028be07b1647
Fixed problem when jailkit user is inserted.
1 files modified
10 ■■■■ changed files
server/plugins-available/shelluser_jailkit_plugin.inc.php 10 ●●●● patch | view | raw | blame | history
server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -85,15 +85,15 @@
                $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();
            }