Bugzilla – Bug 975
Documentation of Runas_Spec: suggestions
Last modified: 2021-09-11 15:56:46 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."
I have corrected the Runas_Spec description in https://www.sudo.ws/repos/sudo/rev/67d1948d1aa8
Fixed in sudo 1.9.7