Slackware HowTo

Configure sudoers.d on Slackware

Modular rules that are easy to maintain.

1. Prepare

Create the directory if missing:

mkdir -p /etc/sudoers.d

2. Add rules

Use visudo on a dedicated file:

visudo -f /etc/sudoers.d/admin

3. Syntax

Example:

%wheel ALL=(ALL:ALL) ALL

4. Verify

visudo -c

Quick checklist

[ ] Steps completed
[ ] Config updated
[ ] Service tested
[ ] Restart/rollback ready
[ ] Logs checked

Back to Linux HowTo