projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f760d9
)
Fail hard if PAM was required but doesn't work
author
Jamie Cameron
<jcameron@webmin.com>
Fri, 20 Mar 2009 18:11:34 +0000
(18:11 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Fri, 20 Mar 2009 18:11:34 +0000
(18:11 +0000)
miniserv.pl
patch
|
blob
|
history
diff --git
a/miniserv.pl
b/miniserv.pl
index
9a0361c
..
77dfe85
100755
(executable)
--- a/
miniserv.pl
+++ b/
miniserv.pl
@@
-126,7
+126,9
@@
if (!$config{'no_pam'}) {
}
}
if ($config{'pam_only'} && !$use_pam) {
- $pam_msg2 = "PAM use is mandatory, but could not be enabled!";
+ print STDERR $pam_msg;
+ print STDERR "PAM use is mandatory, but could not be enabled!\n";
+ exit(1);
}
elsif ($pam_msg && !$use_pam) {
$pam_msg2 = "Continuing without the Authen::PAM perl module";