tbrehm
2009-03-16 b84b62a6a89ed0a9947a52dc2e093945c806599f
server/plugins-available/shelluser_base_plugin.inc.php
@@ -90,9 +90,9 @@
            
            //* Disable shell user temporarily if we use jailkit
            if($data['new']['chroot'] == 'jailkit') {
               $command = 'usermod --lock '.escapeshellcmd($data['new']['username']);
               $command = 'usermod -L '.escapeshellcmd($data['new']['username']);
               exec($command);
               $app->log("Disabling shelluser temporarily: ".$data['new']['username'],LOGLEVEL_DEBUG);
               $app->log("Disabling shelluser temporarily: ".$command,LOGLEVEL_DEBUG);
            }
         
         } else {