-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Describe the feature you'd like see implemented in sudo-rs
If /etc/sudoers is missing, give a better error message than "file not found".
or
do something else that can be appropriate: interpret a missing sudoers file as:
- All settings have their default value (like an empty sudoers file)
- There is the implicit rule, which does what people naively expect sudo to do: grant escalationg privileges to people in the
sudoersgroup.
What problem can be solved with this feature?
Users can end up in this situation by the present state of some packaging, or if they install our tarballs on a clean sudo-less system without creating a /etc/sudoers.
Additional context
I don't think the situation where a missing /etc/sudoers is interpreted as %sudoers ALL=ALL diminishes security: the /etc/sudoers file is considered part of the trusted config...
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers