mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-31 01:24:58 +02:00
Modify check_password_by_pam function.
This commit is contained in:
parent
8c1a0e3f6d
commit
3d7bcb9d99
@ -466,16 +466,16 @@ check_password_by_pam()
|
|||||||
FNRET=0
|
FNRET=0
|
||||||
else
|
else
|
||||||
debug "$cndt_value -$COMPARE $CONDITION is not ok"
|
debug "$cndt_value -$COMPARE $CONDITION is not ok"
|
||||||
FNRET=1
|
FNRET=5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
debug "$KEYWORD $OPTION is not conf"
|
debug "$KEYWORD $OPTION is not conf"
|
||||||
FNRET=1
|
FNRET=4
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
debug "$LOCATION is not exist"
|
debug "$LOCATION is not exist"
|
||||||
FNRET=2
|
FNRET=3
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user