Explicitly read input from STDIN.
Kpasswdd supplies the principal name as an argument to the external script which makes <> try to read from a file with that name. Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
083b8b63ee
commit
606c549626
@@ -87,7 +87,7 @@ sub badpassword
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
while (<>) {
|
while (<STDIN>) {
|
||||||
last if /^end$/;
|
last if /^end$/;
|
||||||
if (!/^([^:]+): (.+)$/) {
|
if (!/^([^:]+): (.+)$/) {
|
||||||
die "key value pair not correct: $_";
|
die "key value pair not correct: $_";
|
||||||
|
Reference in New Issue
Block a user