1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00
Files
fedora-coreos-config/tests/kola/files/sudoers

14 lines
337 B
Bash
Executable File

#!/bin/bash
## kola:
## exclusive: false
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh
# Security scanners complain about world-readable files in /etc/sudoers.d.
# Check file permissions and syntax of /etc/sudoers and /etc/sudoers.d/*.
# https://bugzilla.redhat.com/show_bug.cgi?id=1981979
visudo -c
ok "sudoers files are valid"