mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-25 23:05:01 +02:00
Merge pull request #1489 from katalyst666/master
changed wording of the output AllowUsers to AllowGroups in test SSH-7440
This commit is contained in:
commit
b4e57bcbd8
@ -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