Re: Mount With Password
Re: Mount With Password
- Subject: Re: Mount With Password
- From: Luther Fuller <email@hidden>
- Date: Sun, 28 Mar 2010 17:25:57 -0500
On Mar 28, 2010, at 5:05 PM, Axel Luttgens wrote:
> Apparently because stdin isn't a tty in the context created by "do shell script":
>
> do shell script "test -t 0; echo $?"
> --> 1
>
> On the other hand, without the -stdinpass, hdiutil should raise a password dialog with the option to save the password in the user's keychain; in all cases, this would be safer than having a cleartext password stored in a script...
I'm experimenting with using a password that is never seen by human eyeballs. I don't want the user to ever have to type the password, so the password dialog is out. And I don't want the password recorded anywhere, so Keychain is out. (You are wondering where I'm getting the password, aren't you?)
So, I'm looking for a 'do shell script ...' command that will mount a password protected sparsebundle.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden