| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 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/pam/ |
Upload File : |
# display args for pam_motd.so
$module_has_no_args = 1; # file= arg doesn't seem to work!
# display_args(&service, &module, &args)
sub display_module_args
{
print &ui_table_row($text{'motd_file'},
&ui_opt_textbox("file", $_[2]->{'file'}, 40, $text{'motd_file_def'}).
" ".&file_chooser_button("file"), 3);
}
# parse_module_args(&service, &module, &args)
sub parse_module_args
{
if ($in{'file_def'}) {
delete($_[2]->{'file'});
}
else {
$in{'file'} =~ /^\S+$/ || &error($text{'motd_efile'});
$_[2]->{'file'} = $in{'file'};
}
}