slackware:truecrypt
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| slackware:truecrypt [2013/12/29 12:39] – created slack | slackware:truecrypt [2019/11/07 17:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Truecrypt binary root priveleges | + | There is a slackbuild, which maybe fixes all this stuff, but itself has some odd dependencies. The site has an installer for the cl version. |
| - | 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): | + | |
| + | ======Truecrypt binary root privileges====== | ||
| + | |||
| + | 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 (as root): | ||
| + | |||
| + | < | ||
| # groupadd truecrypt | # groupadd truecrypt | ||
| + | </ | ||
| Now you edit the sudoers file (must be done with vi!) | Now you edit the sudoers file (must be done with vi!) | ||
| + | < | ||
| # visudo | # visudo | ||
| + | </ | ||
| Add the following 2 lines to the bottom of the sudoers file: | Add the following 2 lines to the bottom of the sudoers file: | ||
| + | < | ||
| # Allow users of truecrypt group to run truecrypt as root. | # Allow users of truecrypt group to run truecrypt as root. | ||
| - | |||
| %truecrypt ALL=(root) NOPASSWD:/ | %truecrypt ALL=(root) NOPASSWD:/ | ||
| + | </ | ||
| Save it and exit visudo | Save it and exit visudo | ||
| Now add your regular users to the truecrypt group | Now add your regular users to the truecrypt group | ||
| - | # gpasswd -a regularuser1 | + | < |
| - | # gpasswd -a regularuser2 | + | # gpasswd -a regularuser |
| + | </ | ||
| + | |||
| + | or for many users | ||
| + | |||
| + | < | ||
| + | # gpasswd -M first_user, | ||
| + | </ | ||
| + | |||
| + | Affected users need to log out and back in again. | ||
| The Truecrypt file containers default mount on: | The Truecrypt file containers default mount on: | ||
| + | < | ||
| / | / | ||
| + | </ | ||
| where X is the slot number you choose from the graphical interface when you mount the file container. | where X is the slot number you choose from the graphical interface when you mount the file container. | ||
| - | Thank you to the Gentoo Wiki. | + | |
| + | Mount and unmount with | ||
| + | |||
| + | < | ||
| + | truecrypt /path/to/ | ||
| + | truecrypt -d / | ||
| + | truecrypt -d # unmounts all | ||
| + | </ | ||
| + | |||
| + | although mounting in non-default locations [[http:// | ||
| + | |||
| + | https:// | ||
slackware/truecrypt.1388320775.txt.gz · Last modified: 2019/11/07 17:58 (external edit)