vogelor
2010-06-08 e4efe7ac4a0f4d886d43d28517affacafc84a7c9
server/plugins-available/shelluser_base_plugin.inc.php
@@ -96,7 +96,7 @@
            
            //* Disable shell user temporarily if we use jailkit
            if($data['new']['chroot'] == 'jailkit') {
               $command = 'usermod -L '.escapeshellcmd($data['new']['username']);
               $command = 'usermod -s /bin/false -L '.escapeshellcmd($data['new']['username']);
               exec($command);
               $app->log("Disabling shelluser temporarily: ".$command,LOGLEVEL_DEBUG);
            }