lseg
January 2nd, 2013, 10:02 AM
Hi,
I would like to add some automatic mounting and dismounting of truecrypt volumes in cron.
I have 2 problems with that:
1) I have to do this as a superuser, in cmd line I just do sudo, but I cant do that in cron. In ubuntu there also is no root user, so how should I achieve this in cron ?
2) I also have to add the Password as plain text, which is not really secure, how can I solve this ?
Kind regards,
Luc
I would like to add some automatic mounting and dismounting of truecrypt volumes in cron.
I have 2 problems with that:
1) I have to do this as a superuser, in cmd line I just do sudo, but I cant do that in cron. In ubuntu there also is no root user, so how should I achieve this in cron ?
2) I also have to add the Password as plain text, which is not really secure, how can I solve this ?
Kind regards,
Luc