I have a backup drive that is Truecrypt Encrypted. I'd like to automnt this drive so I can automate backups when in the office. I am using Linux Mint 12 x64bit
I wrote a script that runs successfully with Sudo to mount the encrypted drive.
However, I can not get the drive to mount automatically...
I tried entering the script into rc.local, but that doesn't work.
So I tried editing the sudoers file (thinking I could enter this script into the startup applications area for Mint):
username ALL= NOPASSWD: /usr/local/bin/bakmnt.sh
*username is replaced with my real my username in the sudoers file
Still, when I try to run the script without sudo, I get:
Error: Failed to obtain administrator privileges.
I'm out of ideas, googling around seems to be an issue with Truecrypt..but I still come up empty for a solution. Any thoughts out there?
thanks for reading!!