Use fingerprint to authenticate on Ubuntu, and passwordless on some apps
Fingerprints, sudoers
Just by activating Fingerprint login, quite surprisingly it has been working directly.
Because I have changed my password for a quite complex one, I am interested to launch some sudo commands without prompt of password.
Use visudo
to update /etc/sudoers
. I understand there is some syntax check to avoid mistake when editing this file. You don't want to be left with a defective sudo system.
I have just added this line. explore
is my username. I can add additional commands after a comma (e.g. /bin/systemctl restart httpd.service, /bin/kill
)
explore ALL = NOPASSWD: /usr/bin/apt