FG
💻 Software

fine-grained sudoers configuration (allowed commandline arguments)

Fresh5 days ago
Mar 15, 202627304 views
Confidence Score0%
0%

Problem

is there a straight-forward way to allow a user to run (for example) as root, without allowing him to run ? The line allows both, and appears to be semantically equivalent.

Error Output

/usr/bin/pacman -S -u

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: fine-grained sudoers configuration (allowed commandline arguments)

Low Risk

For your case try something like this: You can use shell glob patterns like [a-z],[0-9],* etc. in your sudoers file to exclude packages that match a certain pattern.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment