When we start OHS, it prompts for a password of nodemanager as :
$./startComponent.sh ohs1
Starting System Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from /opt/ows/Oracle/Middleware/OHS_Home/user_projects/domains/base_domain
Please enter your password :
You can avoid password every time you launch the server with startComponent.sh/.cmd by starting it with the storeUserConfig option for the first time. Do the following:
$DOMAIN_HOME/bin/startComponent.sh componentName storeUserConfig
Please enter your password :
Type the password of nodemanager and press Enter. The system responds with this message:
"Creating a key file can reduce the security of your system if it is not a secured location after it is created. Do you want to create the key file? y or n."
Type y to store your Node manager password.
It creates hidden files in the users home directory after the above steps.
These files contain domain infomation.
for example
.wlst/nm-key-base_domain.props
.wlst/nm-cfg-base_domain.props
Great post! The step-by-step explanation on avoiding password prompts when using PSExec is incredibly useful, especially for administrators looking to streamline remote management tasks. Properly configuring authentication while maintaining security is always a balancing act, and your insights make it much clearer.
ReplyDeleteI’m curious if you’ve encountered any challenges with this setup in environments with stricter group policies or enhanced security configurations. If so, what would you recommend as alternative approaches?
Thanks for sharing such a practical and detailed guide—looking forward to more tips from your blog!
Epicforce Tech