is there a straight-forward way to allow a user to run (for example)
/usr/bin/pacman -S -u
as root, without allowing him to run
/usr/bin/pacman -S -u some_package
?
The line
user ALL=(root) NOPASSWD: /usr/bin/pacman -S -u
allows both, and
user ALL=(root) NOPASSWD: /usr/bin/pacman -S -u ""
appears to be semantically equivalent.