vogelor
2010-05-10 05d4825e5850d2a67a3d4e2eefc971d257d5112d
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);
            }