Why has put an executable name in sudoer, but run it still get asked password ?
this is what is edited after by way of $ sudo visudo (user name illustrative)
foobar ALL=(ALL) NOPASSWD: /usr/bin/lsblk
.
$ ls -l /usr/bin/lsblk
-rwxr-xr-x 1 root root 137168 Jun 27 21:32 /usr/bin/lsblk
but still ask password, how to correct it?
I don't know if your syntax is correct, But I'm sure the following one is correct
foobar ALL=(ALL:ALL) NOPASSWD: /usr/bin/lsblk