From 50a60fed876d13cecb9c61d18d8b7ead93a88043 Mon Sep 17 00:00:00 2001 From: Brian Ginsbach Date: Thu, 2 Apr 2020 14:37:31 -0500 Subject: AUTH-9218 add requires root The `/etc/master.passwd` file on BSD systems is (or should be) read/write root only. Skip the test if not being run as root. --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tests_authentication') diff --git a/include/tests_authentication b/include/tests_authentication index 74389ad8..8099eb0c 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -157,7 +157,7 @@ # Test : AUTH-9218 # Description : Check login shells for passwordless accounts # Notes : Results should be checked - Register --test-no AUTH-9218 --os "DragonFly FreeBSD" --weight L --network NO --category security --description "Check login shells for passwordless accounts" + Register --test-no AUTH-9218 --os "DragonFly FreeBSD" --root-only YES --weight L --network NO --category security --description "Check login shells for passwordless accounts" if [ ${SKIPTEST} -eq 0 ]; then FOUND=0 LogText "Test: Checking login shells" -- cgit v1.2.3