mirror of https://github.com/CISOfy/lynis.git
ypldap on OpenBSD
This commit is contained in:
parent
34eb749636
commit
250d5b3e0c
|
@ -505,7 +505,13 @@
|
||||||
logtext "Result: ypbind is running"
|
logtext "Result: ypbind is running"
|
||||||
Display --indent 2 --text "- Checking ypbind status" --result "FOUND" --color GREEN
|
Display --indent 2 --text "- Checking ypbind status" --result "FOUND" --color GREEN
|
||||||
YPBIND_RUNNING=1
|
YPBIND_RUNNING=1
|
||||||
|
IsRunning ypldap
|
||||||
|
if [ ${RUNNING} -eq 1 ]; then
|
||||||
|
logtext "Result: ypldap is running"
|
||||||
|
Display --indent 2 --text "- Checking ypldap status" --result "FOUND" --color GREEN
|
||||||
|
else
|
||||||
ReportSuggestion "Disable the usage of NIS/NIS+ and use an alternative like LDAP or Kerberos instead"
|
ReportSuggestion "Disable the usage of NIS/NIS+ and use an alternative like LDAP or Kerberos instead"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
logtext "Result: ypbind is not active"
|
logtext "Result: ypbind is not active"
|
||||||
Display --indent 2 --text "- Checking ypbind status" --result "NOT FOUND" --color WHITE
|
Display --indent 2 --text "- Checking ypbind status" --result "NOT FOUND" --color WHITE
|
||||||
|
|
Loading…
Reference in New Issue