Article 5PYGD [SOLVED] nopasswd in sudoers seemingly ignored

[SOLVED] nopasswd in sudoers seemingly ignored

by
awreneau
from LinuxQuestions.org on (#5PYGD)
I have a sudoers line to allow a group to view logs in a specific folder.

%groupname ALL=(ALL) NOPASSWD: /usr/bin/tail /path/to/files/*.log

when user executes the following:

sudo tail -f /path/to/files/this.log

they are still prompted for password.

visudo -f of the file does not report syntax error

thx for helplatest?d=yIl2AUoC8zA latest?i=YTKXbjzz2Z8:8uNFo8jZWok:F7zBnMy latest?i=YTKXbjzz2Z8:8uNFo8jZWok:V_sGLiP latest?d=qj6IDK7rITs latest?i=YTKXbjzz2Z8:8uNFo8jZWok:gIN9vFwYTKXbjzz2Z8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments