User Tools

Site Tools


linux:linux-hardening:require_a_wheel_group_for_root_access

Secure Server build

Require a wheel group for root access

Edit the file /etc/pam.d/su Add, uncomment, or correct the line:

auth required pam_wheel.so use_uid

Edit /etc/group and add the following line

wheel:x:10:root, <user list>

Edit the file /etc/sudoers. Add, uncomment, or correct the line:

%wheel ALL=(ALL) ALL
linux/linux-hardening/require_a_wheel_group_for_root_access.txt · Last modified: by 127.0.0.1