0

Is it possible to mount my external HDD usb device which is encrypted with truecrypt on plug in?

I use it only on Linux.

3 Answers 3

0

Basically you have to add an exception that allows to run truecrypt without password. So add this line to /etc/sudoers using the command "sudo visudo":

Code: username ALL=(root) NOPASSWD:/usr/bin/truecryptreplacing "username" with... well your username.

then you can place the truecrypt mount command in your autostart options

This answer found here: http://ubuntuforums.org/showthread.php?t=1656645

1
  • :Is this going to automount the device when I plug in?Also ,note that I want to be prompted for password.Thanks
    – George
    Apr 12, 2014 at 20:46
0

In Linux, the command truecrypt -h gives Linux commandline support.

I always had TrueCrypt running at startup. Then plug in the USB in question and add to Truecrypt favorites and ask for password upon plug-in.

Selected or all favorite volumes can be mounted automatically whenever its host device gets connected to the computer. To set this up, follow these steps:

1.Mount the volume (to the drive letter to which you want it to be mounted every time). 2.Right-click the mounted volume in the drive list in the main TrueCrypt window and select 'Add to Favorites'. 3.The Favorites Organizer window should appear now. In this window, enable the option 'Mount selected volume when its host device gets connected' and click OK.

Then, when you insert e.g. a USB flash drive on which a TrueCrypt volume is located into the USB port, you will be asked for the volume password (and/or keyfiles) (unless it is cached) and if it is correct, the volume will be mounted.

Dave

1
  • :When I add to favorites it doesn't appear any option 'Mount selected volume when its host device gets connected'.Just 'Move up' etc
    – George
    Apr 13, 2014 at 13:39
0

George,

By your answer, it seems the TrueCrypt Linux version GUI doesn't match the Windows version. I direct you here: http://www.linuxquestions.org/questions/linux-software-2/automount-truecrypt-truecrypt-command-lline-os-arch-linux-826365/ I feel that page has your answer.

Dave

1
  • :Executing this command , it gives me that it is already mounted!
    – George
    Apr 14, 2014 at 20:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .