system-configs/etc/sudoers.d/root-access

5 lines
185 B
Text

## Allow certain users access to root using their own passwords.
tadgy ALL=(root) ALL
## Allow the 'sysadmin' user access to root without a password.
sysadmin ALL=(root) NOPASSWD: ALL