• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mount With Password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mount With Password
      • From: Axel Luttgens <email@hidden>
References: 
 >Mount With Password (From: Luther Fuller <email@hidden>)
 >Re: Mount With Password (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Mount With Password
  • Next by Date: Re: protocol
  • Previous by thread: Re: Mount With Password
  • Next by thread: Re: Mount With Password
  • Index(es):
    • Date
    • Thread