summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/visudo/test9.sh
blob: d62fb88393e273b815ae4ef3931cec765b9efa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Test IP and network address in host-based Defaults statements
# Bugzilla #766
#

./visudo -cf - <<-EOF
	Defaults@127.0.0.1 !authenticate
	Defaults@10.0.0.0/8 !always_set_home
	EOF

exit 0