Creating a Password File

This section explains how to create a password file on a web server operating on a Windows and a Solaris platform. 

Creating a Password File on Windows

A password file named admin.passwd has to be created in the bin directory of the Sun Java Web Server’s install directory. Specify the following in that file:

wadm_password=<Password_of_admin_server’s_administrator>

Figure 1 depicts how this is done:

passwordfilecreation

Figure 1 : The password file containing the administrator’s password

Creating a Password File on Solaris

Issue the following commands from the bin directory of the Sun Java web server’s install directory to create the password file named admin.passwd with the admin server’s administrator password:

vi admin.passwd

“admin.passwd” [New file]

wadm_password=adm1n