From 9e41c341d482c7697232ced9d0b475715ebb76e5 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 10 Mar 2009 08:45:57 -0400 Subject: [PATCH] - Updated opensuse instructions. - The home directory of a shell user gets deleted when the user is deleted. --- server/plugins-available/shelluser_base_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php index 85a6156..76fdf0e 100755 --- a/server/plugins-available/shelluser_base_plugin.inc.php +++ b/server/plugins-available/shelluser_base_plugin.inc.php @@ -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