I made a simple python script, which get password from kwallet and “automatically” mount the truecrypt volumes after login. The truecrypt is run with sudo and I added to the sudo config:
[FONT=courier new]%realcrypt ALL = (root) NOPASSWD: /usr/bin/realcrypt[/FONT][FONT=courier new]
[/FONT]so the mount doesn’t require a password… it work well.
After each log in a request for root password appears:
Authentication is required to mount /dev/mapper/truecrypt1.
If I ignore the request (cancel), the disk stay mounted and everything is OK. But the request is a little bit annoying. Do you know hot get rid of it?
>> If I ignore the request (cancel), the disk stay mounted and everything
>> is OK. But the request is a little bit annoying. Do you know hot get rid
>> of it?
If the mount point appears in fstab, it should not prompt you. But I do not know how truecrypt
works, so maybe it is not possible.
–
Cheers / Saludos,
Carlos E. R.
(from oS 12.3 “Dartmouth” GM (rescate 1))