FreeKB - wsadmin username password
IBM WebSphere - wsadmin username password

If you are not familiar with the wsadmin utility, check out our Getting Started article.

When invoking the wsadmin utility, if you are not prompted to provide a username and password, this means administrative security is disabled. On the other hand, if you are prompted to provide a username and password, this means administrative security is enabled.

Username:
Password:

 

Or, the -user and -password options can be provided on the command line.

wsadmin.sh -user root -password your_password

 

However, the use of the -user and -password options is highly discouraged, as the username and password provided are visible using the ps command (Linux).

~]# ps -ef | grep java
. . .
com.ibm.ws.admin.services.WsAdmin -user root -password your_password

 

The username and password can be entered in the ${WAS_INSTALL_ROOT}/profiles/your_profile/properties/soap.client.props file for SOAP connections (see -conntype SOAP).

com.ibm.SOAP.securityEnabled=true
com.ibm.SOAP.loginUserid=your_username
com.ibm.SOAP.loginPassword=your_password
com.ibm.SOAP.loginSource=none

 

Or, the username and password can be entered in the ${WAS_INSTALL_ROOT}/profiles/your_profile/properties/sas.client.props file for RMI or JSR160RMI connections (see -conntype RMI / -conntype JSR160RMI).

com.ibm.CORBA.loginUserid=your_username
com.ibm.CORBA.loginPassword=your_password
com.ibm.CORBA.loginSource=properties

 

Or, the username and password can be entered in the ${WAS_INSTALL_ROOT}/profiles/your_profile/properties/ipc.client.props file for IPC connections (see -conntype IPC). You will also comment out the login source line.

com.ibm.IPC.loginUserid=your_username
com.ibm.IPC.loginPassword=your_password
# com.ibm.IPC.loginSource=prompt

 

Or, -conntype NONE can be used, to make an unauthenticated connection.

wsadmin.sh -conntype NONE

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter e0eaf in the box below so that we can be sure you are a human.




Comments