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. .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" .\"
.\" $Sudo$ .\" $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: .\" Standard preamble:
.\" ======================================================================== .\" ========================================================================
@@ -149,7 +149,7 @@
.\" ======================================================================== .\" ========================================================================
.\" .\"
.IX Title "SUDOERS @mansectform@" .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" .SH "NAME"
sudoers \- list of which users may execute what sudoers \- list of which users may execute what
.SH "DESCRIPTION" .SH "DESCRIPTION"
@@ -255,12 +255,11 @@ The definitions of what constitutes a valid \fIalias\fR member follow.
\& '!'* User_Alias \& '!'* User_Alias
.Ve .Ve
.PP .PP
A \f(CW\*(C`User_List\*(C'\fR is made up of one or more usernames, uids A \f(CW\*(C`User_List\*(C'\fR is made up of one or more usernames, system groups
(prefixed with '#'), System groups (prefixed with '%'), (prefixed with '%'), netgroups (prefixed with '+') and other aliases.
netgroups (prefixed with '+') and other aliases. Each list Each list item may be prefixed with one or more '!' operators.
item may be prefixed with one or more '!' operators. An odd number An odd number of '!' operators negate the value of the item; an even
of '!' operators negate the value of the item; an even number number just cancel each other out.
just cancel each other out.
.PP .PP
.Vb 2 .Vb 2
\& Runas_List ::= Runas_User | \& Runas_List ::= Runas_User |
@@ -277,7 +276,11 @@ just cancel each other out.
.PP .PP
A \f(CW\*(C`Runas_List\*(C'\fR is similar to a \f(CW\*(C`User_List\*(C'\fR except that it can 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 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 .PP
.Vb 2 .Vb 2
\& Host_List ::= Host | \& Host_List ::= Host |