From e61ed86fe51c5a0300d867a33f50711dbf6b4fe0 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 11 Jan 2012 11:59:56 -0500
Subject: [PATCH] - Force user deletion for jailkit users - Fixed bug in updater that made ispconfig invoices directory unreadable. - Removed passing of variables by reference in ispconfig monitor. - Changed monitor of opensuse updates so that the command does not install them automatically.
---
server/plugins-available/shelluser_jailkit_plugin.inc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/plugins-available/shelluser_jailkit_plugin.inc.php b/server/plugins-available/shelluser_jailkit_plugin.inc.php
index fe91c83..86e92f6 100755
--- a/server/plugins-available/shelluser_jailkit_plugin.inc.php
+++ b/server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -166,7 +166,7 @@
//exec('rm -rf '.$data['old']['dir'].$jailkit_chroot_userhome);
if(@is_dir($data['old']['dir'].$jailkit_chroot_userhome)) {
- $command = 'userdel';
+ $command = 'userdel -f';
$command .= ' '.escapeshellcmd($data['old']['username']);
exec($command);
$app->log("Jailkit Plugin -> delete chroot home:".$data['old']['dir'].$jailkit_chroot_userhome,LOGLEVEL_DEBUG);
--
Gitblit v1.9.1