mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 17:24:32 +02:00
commit
4f93551dd7
@ -14,7 +14,7 @@ InsertSection "${SECTION_KERBEROS}"
|
|||||||
PREQS_MET="YES"
|
PREQS_MET="YES"
|
||||||
# Make sure krb5 debugging doesn't mess up the output
|
# Make sure krb5 debugging doesn't mess up the output
|
||||||
unset KRB5_TRACE
|
unset KRB5_TRACE
|
||||||
PRINCS="$(${KADMINLOCALBINARY} listprincs | ${TRBINARY:-tr} '\n' ' ')"
|
PRINCS="$(${KADMINLOCALBINARY} listprincs 2>/dev/null | ${TRBINARY:-tr} '\n' ' ')"
|
||||||
if [ -z "${PRINCS}" ]
|
if [ -z "${PRINCS}" ]
|
||||||
then
|
then
|
||||||
PREQS_MET="NO"
|
PREQS_MET="NO"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user