-8/Nov/1999 1.6 1
+15/Nov/1999 1.6 1
-8/Nov/1999 1.6 2
+15/Nov/1999 1.6 2
-8/Nov/1999 1.6 3
+15/Nov/1999 1.6 3
-8/Nov/1999 1.6 4
+15/Nov/1999 1.6 4
-8/Nov/1999 1.6 5
+15/Nov/1999 1.6 5
-8/Nov/1999 1.6 6
+15/Nov/1999 1.6 6
-8/Nov/1999 1.6 7
+15/Nov/1999 1.6 7
might otherwise use a Cmnd_Alias, User_Alias, Runas_Alias,
or Host_Alias. You should not try to define your own
_\ba_\bl_\bi_\ba_\bs called A\bA\bA\bAL\bL\bL\bLL\bL\bL\bL as the built in alias will be used in
- preference to your own.
+ preference to your own. Please note that using A\bA\bA\bAL\bL\bL\bLL\bL\bL\bL can be
+ dangerous since in a command context, it allows the user
+ to run a\ba\ba\ban\bn\bn\bny\by\by\by command on the system.
An exclamation point ('!') can be used as a logical _\bn_\bo_\bt
operator both in an _\ba_\bl_\bi_\ba_\bs and in front of a Cmnd. This
syntactic characters in a _\bU_\bs_\be_\br _\bS_\bp_\be_\bc_\bi_\bf_\bi_\bc_\ba_\bt_\bi_\bo_\bn ('=', ':',
'(', ')') is optional.
- The following characters must be escaped with a backslash
-
-8/Nov/1999 1.6 8
+15/Nov/1999 1.6 8
sudoers(5) FILE FORMATS sudoers(5)
+ The following characters must be escaped with a backslash
('\') when used as part of a word (eg. a username or
hostname): '@', '!', '=', ':', ',', '(', ')', '\'.
-
-8/Nov/1999 1.6 9
+15/Nov/1999 1.6 9
-8/Nov/1999 1.6 10
+15/Nov/1999 1.6 10
-8/Nov/1999 1.6 11
+15/Nov/1999 1.6 11
-8/Nov/1999 1.6 12
+15/Nov/1999 1.6 12
-8/Nov/1999 1.6 13
+15/Nov/1999 1.6 13
<P>
The reserved word <STRONG>ALL</STRONG> is a a built in <EM>alias</EM> that always causes a match to succeed. It can be used wherever one might
-otherwise use a <CODE>Cmnd_Alias</CODE>, <CODE>User_Alias</CODE>, <CODE>Runas_Alias</CODE>, or <CODE>Host_Alias</CODE>. You should not try to define your own <EM>alias</EM> called <STRONG>ALL</STRONG> as the built in alias will be used in preference to your own.
+otherwise use a <CODE>Cmnd_Alias</CODE>, <CODE>User_Alias</CODE>, <CODE>Runas_Alias</CODE>, or <CODE>Host_Alias</CODE>. You should not try to define your own <EM>alias</EM> called <STRONG>ALL</STRONG> as the built in alias will be used in preference to your own. Please note
+that using <STRONG>ALL</STRONG> can be dangerous since in a command context, it allows the user to run <STRONG>any</STRONG> command on the system.
<P>
An exclamation point ('!') can be used as a logical <EM>not</EM> operator both in an <EM>alias</EM> and in front of a <CODE>Cmnd</CODE>. This allows one to exclude certain values. Note, however, that using a <CODE>!</CODE> in conjunction with the built in <CODE>ALL</CODE> alias to allow a user to run ``all but a few'' commands rarely works as
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
-''' Revision 1.14 1999/11/09 00:00:29 millert
-''' Mention what characters need to be escaped in names.
+''' Revision 1.15 1999/11/16 05:23:41 millert
+''' Add warning about using ALL in a command context.
'''
'''
.de Sh
.nr % 0
.rr F
.\}
-.TH sudoers 5 "1.6" "8/Nov/1999" "FILE FORMATS"
+.TH sudoers 5 "1.6" "15/Nov/1999" "FILE FORMATS"
.UC
.if n .hy 0
.if n .na
a match to succeed. It can be used wherever one might otherwise
use a \f(CWCmnd_Alias\fR, \f(CWUser_Alias\fR, \f(CWRunas_Alias\fR, or \f(CWHost_Alias\fR.
You should not try to define your own \fIalias\fR called \fB\s-1ALL\s0\fR as the
-built in alias will be used in preference to your own.
+built in alias will be used in preference to your own. Please note
+that using \fB\s-1ALL\s0\fR can be dangerous since in a command context, it
+allows the user to run \fBany\fR command on the system.
.PP
An exclamation point (\*(R'!') can be used as a logical \fInot\fR operator
both in an \fIalias\fR and in front of a \f(CWCmnd\fR. This allows one to
a match to succeed. It can be used wherever one might otherwise
use a C<Cmnd_Alias>, C<User_Alias>, C<Runas_Alias>, or C<Host_Alias>.
You should not try to define your own I<alias> called B<ALL> as the
-built in alias will be used in preference to your own.
+built in alias will be used in preference to your own. Please note
+that using B<ALL> can be dangerous since in a command context, it
+allows the user to run B<any> command on the system.
An exclamation point ('!') can be used as a logical I<not> operator
both in an I<alias> and in front of a C<Cmnd>. This allows one to