User Tools

Site Tools


slackware:truecrypt

This is an old revision of the document!


Truecrypt binary root priveleges

The Truecrypt binary needs to have root privileges. I installed Truecrypt 6.0a on Slackware 12.1 and it gives me the same message. The fix is to create a group with the privilege of running the truecrypt binary and add your unprivileged (non-root) users to the truecrypt group so they can run Truecrypt. Do the following (need to su):

# groupadd truecrypt

Now you edit the sudoers file (must be done with vi!)

# visudo

Add the following 2 lines to the bottom of the sudoers file:

# Allow users of truecrypt group to run truecrypt as root.

%truecrypt ALL=(root) NOPASSWD:/usr/bin/truecrypt

Save it and exit visudo Now add your regular users to the truecrypt group

# gpasswd -a regularuser1 truecrypt # gpasswd -a regularuser2 truecrypt

Affected users need to log out and back in again.

The Truecrypt file containers default mount on:

/media/truecryptX

where X is the slot number you choose from the graphical interface when you mount the file container. Thank you to the Gentoo Wiki.

https://wiki.archlinux.org/index.php/TrueCrypt#Mount_volumes_as_a_normal_user

slackware/truecrypt.1388322014.txt.gz · Last modified: 2019/11/07 17:58 (external edit)