sudo/plugins/sudoers/regress/testsudoers/test7.sh

14 lines
142 B
Bash
Executable File

#!/bin/sh
#
# Verify sudoers matching by gid.
#
: ${TESTSUDOERS=testsudoers}
exec 2>&1
$TESTSUDOERS root id <<EOF
%#0 ALL = ALL
EOF
exit 0