Skip to content

Improved error messages in case of configuration errors #835

@squell

Description

@squell

Describe the feature you'd like see implemented in sudo-rs
Improved error messages in case of a configuration mistake (see also #832).

For example:

  • A missing /etc/sudoers file (right now: "cannot load configuration: no such file or directory", I believe)
  • PAM configuration files missing

In particular, perhaps some error messages are still a bit "developer"-ish (e.g. lazily using Rust's "{:?}" to format them).

What problem can be solved with this feature?
Easier adoption of sudo-rs; for many users installing it will be a "manual" proces and having more informative error messages can help in troubleshooting mistakes caused by differences between Todd Miller's sudo and ours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions