startup script was adding blank lines in the pam files that has been corrected.
This commit is contained in:
parent
c3bccfd316
commit
f881a96c7a
@ -40,13 +40,13 @@ case "$1" in
|
||||
/account/ {
|
||||
if (!acctSeen && authSeen)
|
||||
{
|
||||
print "auth\trequired\tpam_micasa.so\n";}
|
||||
print "auth\trequired\tpam_micasa.so";}
|
||||
acctSeen++;
|
||||
}
|
||||
/session/ { sesSeen++; }
|
||||
// {print $0; }
|
||||
END { if (sesSeen)
|
||||
print "session\trequired\tpam_micasa.so\n"; }
|
||||
print "session\trequired\tpam_micasa.so"; }
|
||||
' $file > $file.sav
|
||||
mv $file.sav $file
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user