From 8de86f9a36989fc67fd6d362139a2017238bbb38 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 10 Jan 2009 23:29:29 +0000 Subject: [PATCH] Log message saying that Webmin will still work without PAM --- miniserv.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/miniserv.pl b/miniserv.pl index 2aa86bfd5..239a04233 100755 --- a/miniserv.pl +++ b/miniserv.pl @@ -124,6 +124,9 @@ if (!$config{'no_pam'}) { if ($config{'pam_only'} && !$use_pam) { $pam_msg2 = "PAM use is mandatory, but could not be enabled!"; } +elsif ($pam_msg && !$use_pam) { + $pam_msg2 = "Continuing without the Authen::PAM perl module"; + } # Check if the User::Utmp perl module is installed if ($config{'utmp'}) { @@ -4557,6 +4560,7 @@ local @substrings = ( "MobileSafari", # HTTP client in iPhone "Android", # gPhone "Opera Mini", # Opera Mini + "HTC_P3700", # HTC mobile device ); foreach my $p (@prefixes) { return 1 if ($agent =~ /^\Q$p\E/);