| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/home/SERVERWEB/webmin-2.105/proftpd/ |
Upload File : |
# mod_pam.pl
sub mod_pam_directives
{
local $rv = [
[ 'AuthPAM', 0, 6, 'virtual global', 1.20 ],
[ 'AuthPAMConfig', 0, 6, 'virtual global', 1.20 ]
];
return &make_directives($rv, $_[0], "mod_pam");
}
sub edit_AuthPAM
{
return (1, $text{'mod_pam_pam'},
&choice_input($_[0]->{'value'}, "AuthPAM", "",
"$text{'yes'},on", "$text{'no'},off",
"$text{'default'},"));
}
sub save_AuthPAM
{
return &parse_choice("AuthPAM", "");
}
sub edit_AuthPAMConfig
{
return (1, $text{'mod_pam_config'},
&opt_input($_[0]->{'value'}, "AuthPAMConfig", $text{'default'}, 15));
}
sub save_AuthPAMConfig
{
return &parse_opt("AuthPAMConfig", '^\S+$', $text{'mod_pam_econfig'});
}