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:
authorMichael Boelen <michael.boelen@cisofy.com>2016-10-27 10:21:56 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-10-27 10:21:56 +0300
commitdb0ebcd3740d3d16812848eb7cf00bb2c5c845c2 (patch)
tree71127f91893edd5a46aa266dbdac01c302f1dd63 /include
parent5488c6fc4b4f5a599622587edc13f741dacdd7fc (diff)
Improved logging
Diffstat (limited to 'include')
-rw-r--r--include/tests_authentication4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index 959da5f1..afedbb1d 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -279,7 +279,7 @@
# Arch Linux / CentOS / Ubuntu: 1000+
Register --test-no AUTH-9234 --weight L --network NO --category security --description "Query user accounts"
if [ ${SKIPTEST} -eq 0 ]; then
- LogText "Test: Read system users (including root user) from /etc/passwd"
+ LogText "Test: Read system users (including root user) from password database (e.g. /etc/passwd)"
FIND=""
case ${OS} in
@@ -305,7 +305,7 @@
;;
"MacOS")
- LogText "macOS real users output (ID = 0, or 500-599)"
+ 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
for FUSERNAME in ${FIND_USERS}; do