require that the `#' be escaped with a backslash (`\'). If
no -\b-u\bu option is specified, the command will be run as the
invoking user. In either case, the primary group will be set
- to _\bg_\br_\bo_\bu_\bp.
+ to _\bg_\br_\bo_\bu_\bp. The _\bs_\bu_\bd_\bo_\be_\br_\bs policy permits any of the target
+ user's groups to be specified via the -\b-g\bg option as long as
+ the -\b-P\bP option is not in use.
-\b-H\bH, -\b--\b-s\bse\bet\bt-\b-h\bho\bom\bme\be
Request that the security policy set the HOME environment
file distributed with s\bsu\bud\bdo\bo or https://www.sudo.ws/license.html for
complete details.
-Sudo 1.8.26 October 13, 2018 Sudo 1.8.26
+Sudo 1.8.26 October 27, 2018 Sudo 1.8.26
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.TH "SUDO" "8" "October 13, 2018" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
+.TH "SUDO" "8" "October 27, 2018" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
.nh
.if n .ad l
.SH "NAME"
option is specified, the command will be run as the invoking user.
In either case, the primary group will be set to
\fIgroup\fR.
+The
+\fIsudoers\fR
+policy permits any of the target user's groups to be specified via
+the
+\fB\-g\fR
+option as long as the
+\fB\-P\fR
+option is not in use.
.TP 12n
\fB\-H\fR, \fB\--set-home\fR
Request that the security policy set the
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd October 13, 2018
+.Dd October 27, 2018
.Dt SUDO @mansectsu@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
option is specified, the command will be run as the invoking user.
In either case, the primary group will be set to
.Ar group .
+The
+.Em sudoers
+policy permits any of the target user's groups to be specified via
+the
+.Fl g
+option as long as the
+.Fl P
+option is not in use.
.It Fl H , -set-home
Request that the security policy set the
.Ev HOME
defined above) separated by a colon (`:') and enclosed in a set of
parentheses. The first Runas_List indicates which users the command may
be run as via s\bsu\bud\bdo\bo's -\b-u\bu option. The second defines a list of groups that
- can be specified via s\bsu\bud\bdo\bo's -\b-g\bg option. If both Runas_Lists are
- specified, the command may be run with any combination of users and
- groups listed in their respective Runas_Lists. If only the first is
- specified, the command may be run as any user in the list but no -\b-g\bg
- option may be specified. If the first Runas_List is empty but the second
- is specified, the command may be run as the invoking user with the group
- set to any listed in the Runas_List. If both Runas_Lists are empty, the
- command may only be run as the invoking user. If no Runas_Spec is
- specified the command may be run as r\bro\boo\bot\bt and no group may be specified.
+ can be specified via s\bsu\bud\bdo\bo's -\b-g\bg option in addition to any of the target
+ user's groups. If both Runas_Lists are specified, the command may be run
+ with any combination of users and groups listed in their respective
+ Runas_Lists. If only the first is specified, the command may be run as
+ any user in the list but no -\b-g\bg option may be specified. If the first
+ Runas_List is empty but the second is specified, the command may be run
+ as the invoking user with the group set to any listed in the Runas_List.
+ If both Runas_Lists are empty, the command may only be run as the
+ invoking user. If no Runas_Spec is specified the command may be run as
+ r\bro\boo\bot\bt and no group may be specified.
A Runas_Spec sets the default for the commands that follow it. What this
means is that for the entry:
file distributed with s\bsu\bud\bdo\bo or https://www.sudo.ws/license.html for
complete details.
-Sudo 1.8.26 October 7, 2018 Sudo 1.8.26
+Sudo 1.8.26 October 27, 2018 Sudo 1.8.26
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.TH "SUDOERS" "5" "October 7, 2018" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
+.TH "SUDOERS" "5" "October 27, 2018" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
The second defines a list of groups that can be specified via
\fBsudo\fR's
\fB\-g\fR
-option.
+option in addition to any of the target user's groups.
If both
\fRRunas_List\fRs
are specified, the command may be run with any combination of users
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd October 7, 2018
+.Dd October 27, 2018
.Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
The second defines a list of groups that can be specified via
.Nm sudo Ns 's
.Fl g
-option.
+option in addition to any of the target user's groups.
If both
.Li Runas_List Ns s
are specified, the command may be run with any combination of users