I need to mount a Truecrypt volume automatically at user login time. This volume is specific for each user.
I'm not sure how to proceed since I'm not extremely familiar with Linux and the various startup scripts involved.
All Truecrypt volumes are located on my network. I already have the relevant /etc/fstab entry to mount the network drive properly.
I'm using Ubuntu 12.04 LTS (in GNOME classic session mode, if this matters, I did hear it does). Truecrypt needs root privileges when mounting a volume. My users have no root privilege, that's an additional difficulty I have.
Thank you.
Best Answer
You can add
to the file .profile in the user's home-directory.
Anything in .profile while be executed everytime the user logs in.
Source: https://wiki.archlinux.org/index.php/TrueCrypt#Automatic_mount_on_login