1#!/bin/sh 2# 3# Test for NULL dereference with "sudo -g group" when the sudoers rule 4# has no runas user or group listed. 5# This is RedHat bug Bug 667103. 6# 7 8: ${TESTSUDOERS=testsudoers} 9 10exec 2>&1 11$TESTSUDOERS -g bin -P ${TESTDIR}/group root id <<EOF 12root ALL = ALL 13EOF 14 15exit 0 16