From ArchWiki
Revision as of 19:05, 21 October 2012 by Jasper1984 (talk | contribs) (files were still there after truecrypt -d)
Jump to: navigation, search

Automatic mount home on login

You need to create an encrypted physical volume with the same password that your login. Then install pam_mount from AUR and change the following lines. /etc/security/pam_mount.conf.xml

<cryptmount>bash -c "grep -q %(MNTPT) /etc/mtab || truecrypt --text --protect-hidden=no --keyfiles='' %(VOLUME) %(MNTPT)"</cryptmount>
<cryptumount>truecrypt -d</cryptumount>
<volume fstype="crypt" path="/dev/sdXX" mountpoint="/home" />


auth optional
session optional

Note: The volume label can be especified per home (~/.pam_mount.conf.xml)

--Nak 09:03, 26 December 2010 (EST)


Some of the information on this page is outdated since truecrypt 5.1, for example the steps to use ext3 as filesystem on the encrypted volume. I'd update it but am not sure if we should keep the present information as reference or replace it with the updated one. --chi 19:29, 2 May 2008 (EDT)


Is there an error in Method 1 (Add a truecrypt group)? It says that some lines should be added to /etc/bash/bashrc. In my opinion it should say that these lines have to be added to each user's .bashrc. --Sandstorm 13:45, 1 June 2008 (EDT)

That file doesn't exist in my system, but I guess adding them to /etc/bash.bashrc should work, if people use bash. However, wouldn't it be most general if you put it in /etc/profile? --Unhammer 14:13, 12 March 2010 (EST)


What are the GUI options? (I found TCMount, but it's discontinued since it had security problems.)

Why the fuck does it separate into a gui and a cli version like normal people, where did the man page go? You cant even do truecrypt -l because it pops up a gui. Is this cruel and arbitrary and should it affect my trust in the software? It boggles the mind.Jasper1984 (talk) 18:55, 21 October 2012 (UTC)


Anyone else is trying it? Is that ok in this page?

Proper wipe?

I created a truecrypted directory, then incrypted it with truecrypt -d. I look at the files -still there?! Therefore i will add a comment telling people to check it. And that rm doesn't make them unrecoverable.(after removing them remounting with truecrypt did return the files, so it does look like it worked)

This will make the page look worse. Jasper1984 (talk) 19:05, 21 October 2012 (UTC)