diff options
author | Brian Ginsbach <brian.ginsbach@gmail.com> | 2020-04-02 22:37:31 +0300 |
---|---|---|
committer | Brian Ginsbach <brian.ginsbach@gmail.com> | 2020-04-03 04:09:15 +0300 |
commit | 50a60fed876d13cecb9c61d18d8b7ead93a88043 (patch) | |
tree | e1d65b89007b125e74e79d0d810ad3352cbb04de /include/tests_authentication | |
parent | 6308682caee9a060e9915c8b85be36ef015ced7c (diff) |
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.
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 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" |