Veracrypt 1.26.18 mount fails with "sudo not found in system directories"

The full error message is as follows:

No such file or directory:
sudo not found in system directories

VeraCrypt::CoreService::SendRequest:317

This worked before I upgraded.

A quick look through veracrypt’s commit log finds this suspicious commit: Linux/FreeBSD: Add absolute paths for system binaries to prevent path… · veracrypt/VeraCrypt@2cca2e1 · GitHub

I assume this can be fixed by setting secure_path to include /run/wrappers/bin in security.sudo.extraRules but I’m not sure.

Any help would be appreciated!

1 Like