linux-access-control
Installation
SKILL.md
Access Control
Distro support
Two-family skill. useradd/usermod/passwd, SSH keys, and /etc/sudoers.d/
work the same on both. The notable differences are the admin group and a
couple of RHEL-only auth/SELinux layers. Body uses Debian/Ubuntu; substitute
per this matrix.
| Concept | Debian/Ubuntu | RHEL family |
|---|---|---|
| Sudo admin group | sudo |
wheel |
| Grant admin | usermod -aG sudo <u> |
usermod -aG wheel <u> |
| User/group tools | useradd, usermod, passwd |
identical |
| Sudoers drop-ins | /etc/sudoers.d/ |
same |
| PAM config | /etc/pam.d/ |
/etc/pam.d/ (managed via authselect on RHEL) |
| Password quality | libpam-pwquality |
pam_pwquality (in pwquality.conf) |
| SELinux user mapping | n/a | semanage login maps Linux users → SELinux users |