tbrehm
2009-03-31 e9d223519ec169a5eef3e187cf5277adde1847a9
FS#661 - Deleting Shell User deletes website
2 files modified
2 ■■■ changed files
server/plugins-available/shelluser_base_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/shelluser_jailkit_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/shelluser_base_plugin.inc.php
@@ -148,7 +148,7 @@
            // Get the UID of the user
            $userid = intval($app->system->getuid($data['old']['username']));
            if($userid > $this->min_uid) {
                $command = 'userdel -f -r';
                $command = 'userdel -f';
                $command .= ' '.escapeshellcmd($data['old']['username']);
            
                exec($command);
server/plugins-available/shelluser_jailkit_plugin.inc.php