This fails completely.
Information about the user:
- Code: Select all
[lcl@belexeuli ~]$ id lcl
uid=500(lcl) gid=500(live) groups=500(live),100(users)
Entry in /etc/sudoers with template command used as model:
- Code: Select all
## Allows members of the users group to shutdown this system
# %users localhost=/sbin/shutdown -h now
%users localhost=/bin/umount NOPASSWD
Trial:
- Code: Select all
[lcl@belexeuli ~]$ sudo umount /run/media/lcl/Sirius
[sudo] password for lcl:
lcl is not in the sudoers file. This incident will be reported.
I am stumped. ??