This gives you a problem with TrueCrypt if you use the encrypted device method, because you can't put in your admin credentials because you don't have any.
What you need to do is to switch user accounts, and launch TrueCrypt as an admin. Start terminal and type:
su adminaccount
Password:
/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt
Then TrueCrypt will behave just like you launched as the admin, remember when you select device to put in the admin account's password.
The terminal session will stay showing that you launched TrueCrypt, which is fine. It'll stay that way until you quit TrueCrypt.
Update: much better way
- su -c "/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt &"
(line might be wrapped)
This will ask for the root/admin users password, launch TrueCrypt, and then put in the background, ie you get your terminal session back right away
3 comments:
why not use the -c option
su adminuser -c mytruecryptcommand
then you could script it and make it a point-and-click operation.
better:
su root_account -c "/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt &"
Then it launches into the background, returning the Terminal
or, make a GUI capable operation.
Get Pseudo from http://www.downloadplex.com/Mac/Business/Calculators-Converters/Download-pseudo-for-mac_357114.html and use it to create a launch document for TrueCrypt, called, sat TC_root.
Then create an AppleScript with the following content:
tell application "Pseudo"
open file "MacDrive:Users:username:documents:TC_Root.pseudo"
end tell
save this as a script, and a application, substituting your username.
Then you can run the script.
Post a Comment