| Server IP : 167.99.254.82 / Your IP : 216.73.216.76 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/at/ |
Upload File : |
#!/usr/bin/perl
# Update allowed or denied At users
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our (%access, %text, %in);
require './at-lib.pl';
ReadParse();
&error_setup($text{'allow_err'});
$access{'allow'} || &error($text{'allow_ecannot'});
if ($in{'amode'} == 0) {
&save_allowed();
&save_denied();
}
elsif ($in{'amode'} == 1) {
my @users = split(/\s+/, $in{'ausers'});
@users || &error($text{'allow_eusers'});
&save_allowed(@users);
&save_denied();
}
elsif ($in{'amode'} == 2) {
my @users = split(/\s+/, $in{'ausers'});
@users || &error($text{'allow_eusers'});
&save_allowed();
&save_denied(@users);
}
&webmin_log("allow");
&redirect("");