diff options
author | Justin P <jpartain89@users.noreply.github.com> | 2016-11-05 13:53:22 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-11-05 13:53:22 +0300 |
commit | 50b06efd303fa82284dfa1fd083ed18fa8a55ec6 (patch) | |
tree | b1404a0f60402fc6512a11397eb75fcae618edd1 /include/tests_authentication | |
parent | 0f318a4b7c8f47e76ba0f4fb24027673bb04b9af (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_authentication | 2 |
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 |