Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: Aussiegothic on 20 November 2021, 22:01:07

Title: Mounting veracrypt volumes on boot
Post by: Aussiegothic on 20 November 2021, 22:01:07
Hi,

In Arch Linux, I could mount veracrypt volumes on boot using the example here:

Putting it in /etc/crypttab no longer works without systemd; I'm using Artix and the OpenRC init system. How do I go about mounting veracrypt volumes on boot?

Also, veracrypt prompts "Please enter your user password or an administrator password" whenever I go to mount a volume. I have created a veracrypt group and put my user account in it and added this line in visudo and it still prompts me for a password when trying to mount a volume:
%veracrypt  ALL=(root) NOPASSWD:/usr/bin/veracrypt