MX & MEPIS Community Forum

Linux operating systems based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Truecrypt 
Author Message
Forum Novice
Forum  Novice

Joined: Sat Jan 01, 2011 10:13 am
Posts: 84
Has thanked: 16 times
Have thanks: 30 times
Post # 256525
Post Truecrypt
Hi,

Before downloading and installing Mepis, will the program Truecrypt work OK? It seems a weakness with Debian OS.

Regards,

Dyfi.


Sat Jan 01, 2011 10:16 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10557
Location: Geneva NY
Has thanked: 3132 times
Have thanks: 2001 times
Post # 256530
Post Re: Truecrypt
It is reported to run perfectly on Debian Squeeze, so should be fine in MEPIS 11. Not sure about MEPIS 8.5, but somebody here probably knows.

_________________
Production: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Sat Jan 01, 2011 10:42 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 11023
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3772 times
Have thanks: 898 times
Post # 256542
Post Re: Truecrypt
Older versions of MEPIS have been able to use it. I would bet that it would work now also. Look here for the old howto: http://www.mepis.org/docs/en/index.php?title=Truecrypt

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Sat Jan 01, 2011 12:23 pm
Profile
Forum Regular
Forum Regular

Joined: Wed Jul 12, 2006 6:26 pm
Posts: 165
Has thanked: 0 time
Have thanks: 2 times
Post # 256583
Post Re: Truecrypt
I haven't been able to get it to work on sm8.5-64 bit but it does work perfectly on the same computer running openSUSE 11.3-64.


Sat Jan 01, 2011 3:02 pm

zuser thanked by: lucky9, taxpayer
Profile
Forum Regular
Forum Regular
User avatar

Joined: Fri Oct 17, 2008 8:19 pm
Posts: 798
Location: Okinawa, Japan
Has thanked: 100 times
Have thanks: 142 times
Post # 256666
Post Re: Truecrypt
This (truecrypt) is something I've been meaning to do for some time now. So I tried it... Here is Quick and Dirty report of what I just found on MEPIS 8.5 64 Bit with TrueCrypt 7.0a:

I could download and install, but only if I ran the installer as root. (If ran as user, the installer wouldn't accept the root password - user is not in the sudoers file.)

To run TrueCrypt, I have to start it as root (ALT-F2 >>> kdesu /usr/bin/truecrypt )
(Again, if ran as user, it wouldn't accept the root password - user is not in the sudoers file).

I was able to create, mount and put files in and out of the encrypted partition.

I'll add what I did to the wiki, but maybe the root vs user isn't the way it was supposed to go ? I'm not sure and I'm outta time for now.

Cheers


Sun Jan 02, 2011 2:41 am
Profile
Forum Guide
Forum Guide

Joined: Tue Jan 27, 2009 3:07 pm
Posts: 1095
Location: Bracknell, UK
Has thanked: 273 times
Have thanks: 268 times
Post # 256671
Post Re: Truecrypt
chatan wrote:
This (truecrypt) is something I've been meaning to do for some time now. So I tried it... Here is Quick and Dirty report of what I just found on MEPIS 8.5 64 Bit with TrueCrypt 7.0a:

I could download and install, but only if I ran the installer as root. (If ran as user, the installer wouldn't accept the root password - user is not in the sudoers file.)

To run TrueCrypt, I have to start it as root (ALT-F2 >>> kdesu /usr/bin/truecrypt )
(Again, if ran as user, it wouldn't accept the root password - user is not in the sudoers file).

I was able to create, mount and put files in and out of the encrypted partition.

I'll add what I did to the wiki, but maybe the root vs user isn't the way it was supposed to go ? I'm not sure and I'm outta time for now.

Cheers


Your experience mimics exactly what I found with TrueCrypt on MEPIS 8 (32) when I tried it a while back.

I also managed to create a 15GB "container" in /mnt, instead of actually on the USB stick I wanted encrypted! This filled up my / partition almost completely, and caused some bewilderment until I realised what had happened.

Chris


Sun Jan 02, 2011 6:02 am

chrispop99 thanked by: taxpayer
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2845
Location: Pinellas Park, FL
Has thanked: 114 times
Have thanks: 1817 times
Post # 256694
Post Re: Truecrypt
You need to set up the /etc/sudoers file in order to use programs like TrueCrypt that demand sudo. The easiest secure way to do this is to add an entry to allow your user to run just the one command you need to.

There is a program called visudo for modifying /etc/sudoers which checks for syntax errors and should be used whenever editing that file.

Open a Konsole
Code:
su
<enter your root password here>
visudo

Edit the file to read like so:
Code:
# sudoers file.
#
# This file MUST be edited with the "visudo" command as root.
#
# See the man page for details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root   ALL=(ALL) ALL
myusername   localhost = /path/to/truecrypt

Where you replace "myusername" with your username and "/path/to/truecrypt" with its actual location (I don't have it installed, so I don't know where it gets put).
In visudo, <ctrl>+o saves and <ctrl>+x exits. When you exit, syntax is checked. If you've made any errors they are described, then you are asked "What now?" Press e to continue editing or ? for other options.

When you are done, then sudo should work for that purpose.

Alternatively, you can set sudo up to allow your user to run any command on your machine by using the line
Code:
myusername   localhost = ALL
instead of using the path to that one file. But if you're bothering to run truecrypt in the first place do you want to open that security hole if someone gets your user password?


Sun Jan 02, 2011 10:41 am Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10557
Location: Geneva NY
Has thanked: 3132 times
Have thanks: 2001 times
Post # 256695
Post Re: Truecrypt
Good explanation, Tim! I will put this in the Wiki for general use.

Done (plz review):
http://www.mepis.org/docs/en/index.php?title=Sudo

_________________
Production: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Sun Jan 02, 2011 10:51 am

Jerry3904 thanked by: lucky9
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 11023
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3772 times
Have thanks: 898 times
Post # 256757
Post Re: Truecrypt
Looks good from here.

Did you add to the TrueCrypt page in the Wiki? It's been a good while since I've been on that page and it seems more comprehensive than it was. :rockon:

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Sun Jan 02, 2011 3:38 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Fri Oct 17, 2008 8:19 pm
Posts: 798
Location: Okinawa, Japan
Has thanked: 100 times
Have thanks: 142 times
Post # 256805
Post Re: Truecrypt
timkb4cq wrote:
You need to set up the /etc/sudoers file in order to use programs like TrueCrypt that demand sudo. The easiest secure way to do this is to add an entry to allow your user to run just the one command you need to.


I can see where doing this is definitely needed on a multiple user system. But on a single user system is there any harm/risks by not messing with the sudoers file, and just installing and running truecrypt as root?

Cheers


Sun Jan 02, 2011 7:30 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.