mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 16:54:26 +02:00
changed AllowUsers to AllowGroups in test SSH-7440
This commit is contained in:
parent
967b9f1ec7
commit
8d7c30fd9a
@ -312,7 +312,7 @@
|
|||||||
# AllowGroups
|
# AllowGroups
|
||||||
FIND=$(${GREPBINARY} -E -i "^AllowGroups" ${SSH_DAEMON_OPTIONS_FILE} | ${AWKBINARY} '{ print $2 }')
|
FIND=$(${GREPBINARY} -E -i "^AllowGroups" ${SSH_DAEMON_OPTIONS_FILE} | ${AWKBINARY} '{ print $2 }')
|
||||||
if [ -n "${FIND}" ]; then
|
if [ -n "${FIND}" ]; then
|
||||||
LogText "Result: AllowUsers set ${FIND}"
|
LogText "Result: AllowGroups set ${FIND}"
|
||||||
Display --indent 4 --text "- OpenSSH option: AllowGroups" --result "${STATUS_FOUND}" --color GREEN
|
Display --indent 4 --text "- OpenSSH option: AllowGroups" --result "${STATUS_FOUND}" --color GREEN
|
||||||
FOUND=1
|
FOUND=1
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user