Return to test4.sh CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / sudo / plugins / sudoers / regress / visudo |
1.1 ! misho 1: #!/bin/sh ! 2: # ! 3: # Test cycle detection and duplicate entries. ! 4: # Prior to sudo 1.8.7 this resulted in a false positive. ! 5: # ! 6: ! 7: ./visudo -csf - <<EOF ! 8: Host_Alias H1 = host1 ! 9: Host_Alias H2 = H1, host2 ! 10: Host_Alias H3 = H1, H2 ! 11: root H3 = ALL ! 12: EOF ! 13: ! 14: exit 0