mike_p
2010-05-29 23b83608e8f9fbf0d9954d20f55171cea5c0690c
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);
            }