I have VeraCrypt installed on a server and want to think about making it available to users on the server to make encrypted files in their home directories. What are the security vulnerabilities to think about?
For example, running VeraCrypt requires root permissions for it even to create a local file and I don't want users to be able to screw with a server system volume. I also don't want privilege escalations risks like those mentioned here.
Root permissions for VeraCrypt could be made available to users by adding the following to /etc/sudoers.tmp
:
%veracrypt ALL=(root) NOPASSWD:/usr/bin/veracrypt
Can users use VeraCrypt without these privilege escalation risks and without being able to change the computer in any places other than their home directories?