I'm looking to turn off all password authentication prompts for a specific user (let's say Steve) on my Ubuntu 21.04 machine.
I added the line steve ALL=(ALL) NOPASSWD: ALL
using sudo visudo
and that removed the need to authenticate Steve's password when using sudo commands. However, I still get password authentication prompts when using GUI applications such as Ubuntu Software.
Is there a way to turn these prompts off just for Steve? I still want the other accounts to receive the prompts.
Identity=unix-user:steve
rather thanIdentity=unix-group:admin
. Disclaimer - I haven't tried it. – steeldriver Aug 05 '21 at 11:54