有没有办法不打开IBM Websphere wsamin.sh的图形登录表单?

有没有办法不打开IBM Websphere wsamin.sh的图形登录表单?,websphere,jython,wsadmin,Websphere,Jython,Wsadmin,当您在shell中输入wsadmin.sh时,将打开一个图形登录身份验证表单,因此在用户和密码输入之后,将登录到wsadmin控制台 如果点击此处的“取消”按钮,登录表单将消失,控制台身份验证将打开 我想将wsadmin.sh更改为根本不打开图形登录表单,只打开控制台登录表单 目标是让脚本完全自动化从登录到 此外,我知道wsadmin.sh有-user和-password选项,但它有安全漏洞。如果打开另一个shell并输入“ps-ef | grep-i wsadmin.sh”,则密码将以明文

当您在shell中输入wsadmin.sh时,将打开一个图形登录身份验证表单,因此在用户和密码输入之后,将登录到wsadmin控制台

如果点击此处的“取消”按钮,登录表单将消失,控制台身份验证将打开

我想将wsadmin.sh更改为根本不打开图形登录表单,只打开控制台登录表单

目标是让脚本完全自动化从登录到

此外,我知道wsadmin.sh有-user和-password选项,但它有安全漏洞。如果打开另一个shell并输入“ps-ef | grep-i wsadmin.sh”,则密码将以明文形式提供

更新: 使用这些文件[soap.client.props、sas.client.props、ipc.client.props&……]不是一个好主意,因为user&pass是明文的

如果您认为可以通过PropFilePasswordEncoder.sh进行散列来强化这些功能,那么我应该说这将是编码密码XOR散列,而不是加密。因此,任何有权访问该文件的人都可以轻松解码XOR哈希密码

解决方案:

我通过编辑soap.client.props文件找到了一种不打开图形登录表单的方法 com.ibm.SOAP.loginSource=prompt-->com.ibm.SOAP.loginSource=stdin


有人能帮我设置Kerberos身份验证以登录到wsadmin.sh吗?

您应该能够在属性文件中指定用户ID和密码:

Attention: On UNIX systems, the use of -password option might result in security 
exposure as the password information becomes visible to the system status program such 
as ps command which can be invoked by another user to display all the running 
processes. Do not use this option if security exposure is a concern. To avoid 
exposure, you can:

Specify user and password information in the soap.client.props file for the SOAP 
connector, the sas.client.props file for the JSR160RMI connector or the Remote Method 
Invocation (RMI) connector, or the ipc.client.props file for the Inter-Process 
Communications (IPC) connector. The soap.client.props, sas.client.props, and 
ipc.client.props files are located in the properties directory of your application 
server profile.