sudo/plugins/sudoers/regress/visudo/test9.sh

15 lines
221 B
Bash
Executable File

#!/bin/sh
#
# Test IP and network address in host-based Defaults statements
# Bugzilla #766
#
: ${VISUDO=visudo}
$VISUDO -cf - <<-EOF
Defaults@127.0.0.1 !authenticate
Defaults@10.0.0.0/8 !always_set_home
EOF
exit 0