I found that the error message for missing Authen::PAM
was not coming through to the error log. Resolved by
moving the message out one if statement.
--- /root/miniserv.pl.original 2004-08-13
11:37:07.000000000 +1000
+++ miniserv.pl 2004-08-13 11:37:16.000000000 +1000
@@ -131,9 +131,9 @@
$pam_msg = "PAM test failed -
maybe /etc/pam.d/$config{'pam'} does not exist";
}
}
- else {
- $pam_msg = "PAM initialization of
Authen::PAM failed";
- }
+ }
+ else {
+ $pam_msg = "PAM initialization of
Authen::PAM failed";
}
}
miniserv.pl