summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/shellcommands_withdomain.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_export/shellcommands_withdomain.pm')
-rw-r--r--FS/FS/part_export/shellcommands_withdomain.pm26
1 files changed, 26 insertions, 0 deletions
diff --git a/FS/FS/part_export/shellcommands_withdomain.pm b/FS/FS/part_export/shellcommands_withdomain.pm
index 7c5d904..c209002 100644
--- a/FS/FS/part_export/shellcommands_withdomain.pm
+++ b/FS/FS/part_export/shellcommands_withdomain.pm
@@ -15,6 +15,9 @@ tie my %options, 'Tie::IxHash',
type =>'textarea',
#default=>"$_password\n$_password\n",
},
+ 'useradd_no_queue' => { label => 'Run immediately',
+ type => 'checkbox',
+ },
'userdel' => { label=>'Delete command',
#default=>'',
},
@@ -22,6 +25,9 @@ tie my %options, 'Tie::IxHash',
type =>'textarea',
#default=>'',
},
+ 'userdel_no_queue' => { label => 'Run immediately',
+ type => 'checkbox',
+ },
'usermod' => { label=>'Modify command',
default=>'',
},
@@ -29,6 +35,9 @@ tie my %options, 'Tie::IxHash',
type =>'textarea',
#default=>"$_password\n$_password\n",
},
+ 'usermod_no_queue' => { label => 'Run immediately',
+ type => 'checkbox',
+ },
'usermod_pwonly' => { label=>'Disallow username, domain, uid, dir and RADIUS group changes',
type =>'checkbox',
},
@@ -41,12 +50,18 @@ tie my %options, 'Tie::IxHash',
'suspend_stdin' => { label=>'Suspension command STDIN',
default=>'',
},
+ 'suspend_no_queue' => { label => 'Run immediately',
+ type => 'checkbox',
+ },
'unsuspend' => { label=>'Unsuspension command',
default=>'',
},
'unsuspend_stdin' => { label=>'Unsuspension command STDIN',
default=>'',
},
+ 'unsuspend_no_queue' => { label => 'Run immediately',
+ type => 'checkbox',
+ },
'crypt' => { label => 'Default password encryption',
type=>'select', options=>[qw(crypt md5)],
default => 'crypt',
@@ -84,6 +99,17 @@ the same username with different domains. You will need to
this.form.usermod_stdin.value = "";
this.form.usermod_pwonly.checked = true;
'>
+ <LI><INPUT TYPE="button" VALUE="MagicMail" onClick='
+ this.form.useradd.value = "/usr/bin/mm_create_email_service -e $svcnum -d $domain -u $username -p $quoted_password -f $first -l $last -m $svcnum -g EMAIL";
+ this.form.useradd_stdin.value = "";
+ this.form.useradd_no_queue.checked = 1;
+ this.form.userdel.value = "/usr/bin/mm_delete_user -e ${username}\\\@${domain}";
+ this.form.userdel_stdin.value = "";
+ this.form.suspend.value = "/usr/bin/mm_suspend_user -e ${username}\\\@${domain}";
+ this.form.suspend_stdin.value = "";
+ this.form.unsuspend.value = "/usr/bin/mm_activate_user -e ${username}\\\@${domain}";
+ this.form.unsuspend_stdin.value = "";
+ '>
</UL>
The following variables are available for interpolation (prefixed with