when we start weblogic, in some conditions, it will let you input the admin user and password. so the interaction mode can NOT used by your script to start the weblogic bypass the user and password.
There is a way to bypass the weblogic admin user/password when you start the weblogic.
1. The password file and location:
$DOMAIN_HOME/servers/<your server>/security/boot.properties
2. add the following lines in the file: boot.properties
username=<weblogic admin user> password=<admin user password>
3. start weblogic: it will not prompt the user and password.
startWebLogic.sh
4. open the boot.properties after the weblogic started. you will find the username and password have been encrypt.
username={AES}RHsDjiBTdRwwJvYpS6cR/irVG5kLqZvwLH0HuDpRE4s=
password={AES}coE7iaNFP8nI76gJ9X2crflJ9kOLEB7igjnpoYyxFUQ=