Bug 975 - Documentation of Runas_Spec: suggestions
Documentation of Runas_Spec: suggestions
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Documentation
1.9.7
PC Linux
: low low
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-28 14:41 MDT by Robin A. Meade
Modified: 2021-09-11 15:56 MDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin A. Meade 2021-04-28 14:41:28 MDT
Regarding https://www.sudo.ws/man/1.9.6/sudoers.man.html#Runas_Spec

## Suggestion 1:

"If only the first is specified, the command may be run as any user in the list but no -g option may be specified."

It is incorrect o say "no -g option may be specified."

Should say:

"If only the first is specified, the command may be run as any user in the list and the -g option may specify any of the target user's groups."


## Suggestion 2:

"If no Runas_Spec is specified the command may be run as root and no group may be specified."

It is incorrect o say "no -g option may be specified."

Should say:

"If no Runas_Spec is specified, it is equivalent to a Runas_Spec of '(ALL)': the command may be run as any user and the -g option may specify any of the target user's groups."
Comment 1 Todd C. Miller 2021-05-07 13:45:00 MDT
I have corrected the Runas_Spec description in https://www.sudo.ws/repos/sudo/rev/67d1948d1aa8
Comment 2 Todd C. Miller 2021-05-12 07:35:30 MDT
Fixed in sudo 1.9.7