You can put
AS_ADMIN_PASSWORD=your admin pasword
AS_ADMIN_MASTERPASSWORD=changeit by default
entries in password file and pass it to the start-node-agent command, it
won't prompt you for the password.
asadmin start-node-agent --user "your admin user name" --passwordfile
password.txt na1
password.txt should contain
AS_ADMIN_PASSWORD=your admin pasword
AS_ADMIN_MASTERPASSWORD=changeit by default
-Sankar
glassfish_at_javadesktop.org wrote:
> Hi,
>
> I am installing and configuring glassfish.I am using a script to do this automatically but when I reach the following configuration steps:
>
> 'asadmin start-node-agent na1'
>
> Please enter the master password [Enter to accept the default]:>
>
> Can I avoid this step?
>
> cheers,
>
> //mike
> [Message sent by forum member 'eraonel' (eraonel)]
>
> http://forums.java.net/jive/thread.jspa?messageID=279624
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>