mirror of https://github.com/CISOfy/lynis.git
[AUTH-9254] Only let root use this test, due to permissions
This commit is contained in:
parent
c181a5745f
commit
72ca2b926d
|
@ -437,7 +437,7 @@
|
|||
#
|
||||
# Test : AUTH-9254
|
||||
# Description : Solaris test to check passwordless accounts
|
||||
Register --test-no AUTH-9254 --os Solaris --weight L --network NO --description "Solaris passwordless accounts"
|
||||
Register --test-no AUTH-9254 --os Solaris --weight L --network NO --root-only YES --description "Solaris passwordless accounts"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
FIND=`logins -p | awk '{ print $1 }'`
|
||||
if [ "${FIND}" = "" ]; then
|
||||
|
|
Loading…
Reference in New Issue