Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ warnings:
Changing group owner of <tt>/usr/bin/sudo</tt> to a group with no member users will prevent
any and all escalatation of privileges.
Additionally, the system may become unmanageable if root logins are not allowed.
- general:
This rule doesn't come with a remediation, before remediating the sysadmin needs to add users to the dedicated sudo group.

severity: medium

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# platform = multi_platform_all
# remediation = none
# value = var_sudo_dedicated_group=othergroup

groupadd othergroup
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# platform = multi_platform_all
# remediation = none

groupadd othergroup
chown :othergroup /usr/bin/sudo
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# platform = multi_platform_rhel
# remediation = none

# Make sure sudo is owned by root group
chown :root /usr/bin/sudo