Subject: | |
From: | |
Reply To: | |
Date: | Thu, 19 Jan 2006 17:42:43 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Not sure what "user identity" means in this context, but if you look
again in hdiutil's man page you'll see a standard command line option
"-uid" for passing a user id to own the root of the volume.
Daniel
On Jan 19, 2006, at 1:17 PM, Chuck Pelto wrote:
> What if I want to pass both a user identity and a password?
>
> On Jan 19, 2006, at 10:23 AM, Daniel Jalkut wrote:
>
>>
>>> -stdinpass read a null-terminated passphrase from standard
>>> input. If
>>> the standard input is a tty, the passphrase
>>> will be read
>>> with readpassphrase(3). -stdinpass replaces -
>>> passphrase
>>> though the latter is still supported for
>>> compatibility.
>>> Beware that the password will contain any
>>> newlines before
>>> the NULL. See the EXAMPLES section.
>>
>> So I assume you could do something like this:
>>
>> do shell script "echo MyPassword | hdiutil -stdinpass -other -
>> options"
|
|
|