weblogic 重置console密碼

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 中設置新的用戶名密碼 重啓時會自動加密

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章