vogelor
2010-05-26 24f38b424a3d12c7f4fac1829c83725b200b1e97
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);
            }