diff options
author | mboelen <michael@cisofy.com> | 2014-12-05 22:08:10 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-12-05 22:08:10 +0300 |
commit | 8efbb80497fbc012df389efcc2e00396c8896de2 (patch) | |
tree | d899e12854d9cc5302ed3452e956e0088edf6124 | |
parent | 1fa4416a7a637382363922d459662a31a6a4195d (diff) |
Starting user ID 1000 for Linux systems
-rw-r--r-- | include/tests_authentication | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index 1a0e152f..3e3f3cb0 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -5,8 +5,8 @@ # Lynis # ------------------ # -# Copyright 2007-2014, Michael Boelen (michael@rootkit.nl), The Netherlands -# Web site: http://www.rootkit.nl +# Copyright 2007-2015, Michael Boelen, CISOfy (michael.boelen@cisofy.com) +# Web site: https://cisofy.com # # Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are # welcome to redistribute it under the terms of the GNU General Public License. @@ -338,6 +338,7 @@ # Notes : HPUX > 100 # MacOS: need to be improved (just reading passwd file is not enough) # OpenBSD/NetBSD: unknown + # Arch Linux / CentOS / Ubuntu: 1000+ Register --test-no AUTH-9234 --os Linux --weight L --network NO --description "Query user accounts" if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: Read system users (including root user) from /etc/passwd" @@ -351,7 +352,7 @@ "Linux") logtext "Linux real users output (ID = 0, or 500+, but not 65534):" - FIND=`awk -F: '($3 >= 500) && ($3 != 65534) || ($3 == 0) { print $1","$3 }' /etc/passwd` + FIND=`awk -F: '($3 >= 1000) && ($3 != 65534) || ($3 == 0) { print $1","$3 }' /etc/passwd` ;; "Solaris") @@ -1328,4 +1329,4 @@ wait_for_keypress # #================================================================================ -# Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands +# Lynis - Copyright 2007-2015 Michael Boelen, CISOfy - https://cisofy.com |