From e2d23979737feca8fc66e52a86dff5ae8b3dcab6 Mon Sep 17 00:00:00 2001
From: torusturtle <torusturtle@ispconfig3>
Date: Fri, 20 Mar 2009 16:47:28 -0400
Subject: [PATCH] Translations into German
---
server/plugins-available/shelluser_base_plugin.inc.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php
index 85a6156..1420a5e 100755
--- a/server/plugins-available/shelluser_base_plugin.inc.php
+++ b/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 {
@@ -148,7 +148,7 @@
// Get the UID of the user
$userid = intval($app->system->getuid($data['old']['username']));
if($userid > $this->min_uid) {
- $command = 'userdel --force';
+ $command = 'userdel -f -r';
$command .= ' '.escapeshellcmd($data['old']['username']);
exec($command);
--
Gitblit v1.9.1