weblogic重置密碼 版本 10.3.6.0
停止Weblogic AdminServer
根據端口號查看佔用進程
netstat -anp|grep 端口號
tcp 0 0 ::1:8080 :::* LISTEN 24301/java
kill -9 24301
域目錄domain_home='/home/mw/weblogic/user_projects/domains/xxdomain'
進入${domain_home}/security
備份 DefaultAuthenticatorInit.ldift
用命令生成新的 DefaultAuthenticatorInit.ldift
java -classpath /home/mw/weblogic/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount newusername newpassword .(用戶名 密碼 路徑)
//備份data
進入${domain_home}/servers/AdminServer
mv data data.bak
//生成新的boot.properties 文件
${domain_home}/servers/AdminServer/security
cp boot.properties boot.properties.bak
在boot.properties 中設置新的用戶名密碼 重啓時會自動加密