Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#39 PAM library error message

open
nobody
None
5
2004-08-13
2004-08-13
Stephan Borg
No

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";
}
}

Discussion

  • Stephan Borg
    Stephan Borg
    2004-08-13

    miniserv.pl

     
    Attachments