Skip to content

Be pedantic about disrecommended practices #53

Open
@squell

Description

@squell

There are some well-known anti-patterns in sudo, that the man page warns about; for instance using the negation operator with commands in rules like:

user machine = (ALL:ALL) ALL,!/bin/ls

We can detect those after parsing, during the semantical analysis (where also already complain about alias definitions that appear to be cyclical, etc), and emit a diagnostic about them (while still supporting said behaviour)

This has some subtasks:

  • Inventorise all the disrecommended sudoer-practices (either from the manpage or the wider internet)
  • Implement them during the analysis phase

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-checkerPermission checking logicenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions