Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin P <jpartain89@users.noreply.github.com>2016-11-05 13:53:22 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-11-05 13:53:22 +0300
commit50b06efd303fa82284dfa1fd083ed18fa8a55ec6 (patch)
treeb1404a0f60402fc6512a11397eb75fcae618edd1 /include/tests_authentication
parent0f318a4b7c8f47e76ba0f4fb24027673bb04b9af (diff)
macOS Refactoring (#311)
* Default all macOS `OS` names as macOS. Added comments to specify `uname` outputs for better understanding. * Refactored all `Mac` instances referring to macOS over to `macOS` formatting. Tested on my own machine, unable to find any errors outside of normal parameters.
Diffstat (limited to 'include/tests_authentication')
-rw-r--r--include/tests_authentication2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index e8ea4d46..ab424aee 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -304,7 +304,7 @@
FIND=$(${AWKBINARY} -v UID_MIN="${UID_MIN}" -F: '($3 >= UID_MIN && $3 != 65534) || ($3 == 0) { print $1","$3 }' /etc/passwd)
;;
- "MacOS")
+ "macOS")
LogText "macOS real users output (ID = 0, or 500-599) using dscacheutil"
FIND_USERS=$(dscacheutil -q user | ${GREPBINARY} -A 3 -B 2 -e "^uid: 5[0-9][0-9]" | ${GREPBINARY} "^name: " | ${AWKBINARY} '{print $2}')
if [ ! -z "${FIND_USERS}" ]; then