Bug 975

Summary: Documentation of Runas_Spec: suggestions
Product: Sudo Reporter: Robin A. Meade <robin.a.meade>
Component: DocumentationAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: low CC: mehmetgelisin
Priority: low    
Version: 1.9.7   
Hardware: PC   
OS: Linux   

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