dev@glassfish.java.net

Re: non-interactive asadmin change-master-password

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Fri, 16 Sep 2011 09:10:17 -0500

To run change-master-password non-interactively, use the --passwordfile
option to asadmin with the following keys in the file:

AS_ADMIN_MASTERPASSWORD
AS_ADMIN_NEWMASTERPASSWORD

Tom


On 9/15/2011 7:45 PM, Amy Roh wrote:
> "The change-master-password subcommand is interactive in that the user
> is prompted for the old master password, as well as the new master
> password"
>
> Is there an option to avoid "interactive" and provide a new password
> on the command line?
>
> Thanks,
> Amy