This commit is contained in:
Todd C. Miller
2004-05-16 20:23:17 +00:00
parent 52d63d6d78
commit 7366ce4dac

View File

@@ -18,7 +18,7 @@
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
.\" $Sudo$
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.13
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -149,7 +149,7 @@
.\" ========================================================================
.\"
.IX Title "SUDOERS @mansectform@"
.TH SUDOERS @mansectform@ "February 13, 2004" "1.6.8" "MAINTENANCE COMMANDS"
.TH SUDOERS @mansectform@ "May 16, 2004" "1.6.8" "MAINTENANCE COMMANDS"
.SH "NAME"
sudoers \- list of which users may execute what
.SH "DESCRIPTION"
@@ -255,12 +255,11 @@ The definitions of what constitutes a valid \fIalias\fR member follow.
\& '!'* User_Alias
.Ve
.PP
A \f(CW\*(C`User_List\*(C'\fR is made up of one or more usernames, uids
(prefixed with '#'), System groups (prefixed with '%'),
netgroups (prefixed with '+') and other aliases. Each list
item may be prefixed with one or more '!' operators. An odd number
of '!' operators negate the value of the item; an even number
just cancel each other out.
A \f(CW\*(C`User_List\*(C'\fR is made up of one or more usernames, system groups
(prefixed with '%'), netgroups (prefixed with '+') and other aliases.
Each list item may be prefixed with one or more '!' operators.
An odd number of '!' operators negate the value of the item; an even
number just cancel each other out.
.PP
.Vb 2
\& Runas_List ::= Runas_User |
@@ -277,7 +276,11 @@ just cancel each other out.
.PP
A \f(CW\*(C`Runas_List\*(C'\fR is similar to a \f(CW\*(C`User_List\*(C'\fR except that it can
also contain uids (prefixed with '#') and instead of \f(CW\*(C`User_Alias\*(C'\fRes
it can contain \f(CW\*(C`Runas_Alias\*(C'\fRes.
it can contain \f(CW\*(C`Runas_Alias\*(C'\fRes. Note that usernames and groups
are matched as strings. In other words, two users (groups) with
the same uid (gid) are considered to be distinct. If you wish to
match all usernames with the same uid (e.g. root and toor), you
can use a uid instead (#0 in the example given).
.PP
.Vb 2
\& Host_List ::= Host |