Skip to content

[FAIL] Sudo Logging (specified in another file than /etc/sudoers) #33

@PaddiSson

Description

@PaddiSson

If the rule “Defaults logfile=” is specified in the /etc/sudoers.d/logging file instead of /etc/sudoers as recommended => [FAIL] Sudo Logging - Sudo commands are not being logged - reduces audit capability

Tested on Ubuntu 20.04 and 24.04

if grep -q "^Defaults.*logfile" /etc/sudoers; then

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