Quantcast
Viewing all articles
Browse latest Browse all 5402

Troubleshooting • Bookworm allow application sudo

Hi,

I use Veracrypt a lot, which allows me and my family members to have data everywhere without worrying that someone steals it.
I (and my family) all use it a lot, so I want Veracrypt to have sudo rights anyway without asking for the root password.

So this might sound like a minor problem to you, however this means that nobody except me can use Veracrypt on all computers that we have, so this is really a showstopper for me to upgrade all devices to a pi5.

The old way to config this does not work on Bookworm. Pre-bookworm I allowed Veracrypt root-access (and ask for password for all other applications) like this:

Code:

sudo nano /etc/sudoers.d/010_pi-nopasswd 
and the make sure the content is like this (user niels):

Code:

niels ALL=(ALL) ALLniels ALL=(root) NOPASSWD: /usr/bin/veracrypt
I tried to figure out how to do this differently but to me the sudoers stuff looks like a maze of preloading and postloading files so I do not know where to insert these lines successfully if it is not in the 010_pi-nopasswd file.

Thanks!!!!!!

Statistics: Posted by nielsbaloe — Fri May 10, 2024 1:08 pm



Viewing all articles
Browse latest Browse all 5402

Trending Articles