admin@glassfish.java.net

Re: how to use asadmin change-admin-password in test?

From: Paul M Davies (Oracle) <"Paul>
Date: Fri, 05 Nov 2010 14:08:35 -0700

Hi Bobby,

If asadmin doesn't tell you, you can always ask the subcommand itself:

asadmin change-admin-password --usage
Invalid option: --usage
Usage: asadmin [asadmin-utility-options] change-admin-password
        [-?|--help[=<help(default:false)>]]
Command change-admin-password failed.

Looks like the subcommand takes no options except help and no operands.

BTW, I'm working on a fix to round up the stray man page.

Regards,
-Paul
On 11/05/10 13:38, Bobby Bissett wrote:
> Howdy,
>
> Normally I'd just ask asadmin how to do this, but am getting:
>
> hostname% ../bin/asadmin change-admin-password --help
> Can't find man page for command: change-admin-password
> Command change-admin-password failed.
>
> Is there an option to pass a password file to this command? IOW, can it be run non-interactively? Am working on a cluster upgrade dev test, and after unzipping/upgrading/starting the v2 domain I need to change the admin password to "" so it can talk to the instances that are about to be created.
>
> Any suggestions?
>
> Thanks,
> Bobby
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>


-- 
Oracle <http://www.oracle.com>
Paul Davies| Principal Technical Writer| +1.408.276.3413
Oracle GlassFish Server Documentation
4140 Network Circle, Santa Clara CA 95054, USA
Green Oracle <http://www.oracle.com/commitment> 	Oracle is committed to 
developing practices and products that help protect the environment