tbrehm
2009-10-28 0a2a60fd5de4f05863d6a356368b90c814aec1d4
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);
            }