1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#
# Read: man sections super.1, super.5
# doc files sample.tab, sample.cdmount, and sample.cdumount.
#
# This configuration file is for the super command.
# It is most often used to run commands as root.
# Therefore, DO NOT ADD ANY ENTRIES until you understand how this works.
#
# Set global defaults: log via syslog; patterns are shell glob-type patterns.
#
:global syslog=y patterns=shell
# Limits on arguments:
## # 0 or 1 argument per command
## :global nargs=0-1
# Arguments must be simple words w/o characters that may special to shells.
# ==> N.B. Put this *after* you change the "patterns=xxx" option
#
:if $PATTERNS == shell :global arg1-99="[[-/:+.,_a-zA-Z0-9]]"
:if $PATTERNS != shell :global arg1-99="^[-/:+.,_a-zA-Z0-9]*$$"
|