Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im using debian lenny, and I have installed truecrypt 6.0a, and when I try to do an encrypted filesystem, or when I want to generate a key it prompts me for a password and I give it roots password, then I get an error prompt saying that truecrypt could not obtain administration privileges.
What should I do to fix this?
Im running truecrypt as a normal user.
Thank you all for your help!
Click here to see the post LQ members have rated as the most helpful post in this thread.
problem is that im running the graphical version, and I cant run it as root cuz root cant connect to X server, im going to have to try running it from console.
FYI, not related by may prevent posts about True Crypt not working:
Be aware that the True Crypt developers are aware of a problem with True Crypt version above 4.3 performance on Linux. They claim that this is due to a bug in Linux that was fixed in the 2.6.25 kernel.
I have worked around this bug by using True Crypt v4.3 to create encrypted partitions, then using v5.x for everyday use. When you do this you cannot use the new features in v5.x. True Crypt can only do the things that v4.3 could do.
Im actually running kernel version 2.4.25-2 and still does not work so I guess the bug continues...
Ill try kdesu program, and Ill tell you what I did if i get it working.
Thank you.. any more replies are always appreciated.
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
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.
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
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.
Distribution: Slackware 14.1 and 14.0, Ubuntu 14.04, CentOS 5
Posts: 14
Rep:
Quote:
Originally Posted by arniekat
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
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.
Thanks for this, just want to say that the users you added to group truecrypt will probably have to log out and in again before the changes take effect in case that trips anyone else up. Still working fine on Slackware 14.0. You can mount in a non-default location with
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.