dev@glassfish.java.net

Re: creating file user with a specific password

From: Tom Amiro <Tom.Amiro_at_Sun.COM>
Date: Thu, 12 Apr 2007 13:53:31 -0400

Shing,

Are you suggesting to put

  AS_ADMIN_USERPASSWORD=whatever

in the password.txt file?

I can see how that would work to create one
user with a given password but no another
with a different password. But you've given
me an idea. I'll create multiple password files.
Just seems pretty inefficient for such a simple
operand.

Tom

Shing Wai Chan wrote:

> I have asked this question before. I do not get an answer at that time.
> One way that I know we can do is to create the file with password
> inside the ant script.
> Regards,
> Shing Wai Chan
>
> Tom Amiro wrote:
>
>> Hi,
>>
>> Looking at the asadmin create-file-user, it
>> is not obvious to me how you would specify
>> a password for the user being created.
>> There is only one operand "user_name".
>> I want to create different users with
>> different passwords from an ant script.
>>
>> Tom
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>