From 98d6bdc2b96ad27bc1bfa30721715e3f33f5c717 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 8 Jul 2002 10:01:03 +0000 Subject: [PATCH] default linux/netbsd shellcommand userdel should remove home directories --- FS/FS/part_export.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 3982168a5..0597cddf2 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -534,7 +534,7 @@ tie my %shellcommands_options, 'Tie::IxHash', default=>'', }, 'userdel' => { label=>'Delete command', - default=>'userdel $username', + default=>'userdel -r $username', #default=>'rm -rf $dir', }, 'userdel_stdin' => { label=>'Delete command STDIN', @@ -719,7 +719,7 @@ tie my %sqlmail_options, 'Tie::IxHash', 'desc' => 'Real-time export via remote SSH (i.e. useradd, userdel, etc.)', 'options' => \%shellcommands_options, 'nodomain' => 'Y', - 'notes' => 'Run remote commands via SSH. Usernames are considered unique (also see shellcommands_withdomain). You probably want this if the commands you are running will not accept a domain as a parameter. You will need to setup SSH for unattended operation.

Use these buttons for some useful presets:', + 'notes' => 'Run remote commands via SSH. Usernames are considered unique (also see shellcommands_withdomain). You probably want this if the commands you are running will not accept a domain as a parameter. You will need to setup SSH for unattended operation.

Use these buttons for some useful presets:', }, 'shellcommands_withdomain' => { -- 2.11.0