Sun Management Center 3.5 Update 1a Release Notes

Launching the Java Console Through the Command Line (4969921)

To start the console automatically, first create a file to specify the login information. The login-file is used with the -c and -n options to specify a text file to retrieve login information. It has the following format:


username : user-namepassword : password
serverhost : local-host
serverport : port-number 

For example, create a file named login.txt, with the following content:


username : jching
password : 1AxDh98 
serverhost : sanjose1 
serverport : 2099

The login-file must be owned and readable-only (400) by the user who starts the console. The file would have the following permissions:


-r-------- 1 jching other    83 Oct 27 07:55 login

The command for launching the console with the information from the login-file is:


# /opt/SUNWsymon/sbin/es-start -c -n login-file