Skip to content

Feature Suggestion: Deprecate doas setting from the config file (and add an alternative) #980

@PROStefi1000

Description

@PROStefi1000

My suggestion is to deprecate (or just outright remove) the doas (bool) config value under [general] in the .toml configuration file. Why? I'm suggesting replacing it with an alternative setting, a value that's set to a string. That string will be the name of the privilege escalator (or path pointing directly to the executable).
My point is, there aren't just doas and sudo, there are also sudo-rs, super, vsys, sus, su1, op, calife, etc. So I think rather than adding a bagillion different bool config values, it would be easier to replace the config value with a string now, before the project gets even bigger, because then it would be harder to replace.
It wouldn't change any default behaviour, and would just improve the experience for those like me, who use neither sudo nor doas.

Of course, this is just a suggestion, no pressure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions