Thursday, 30 September 2021

EBS R12.2 Retrieve weblogic password

 cd $EBS_DOMAIN_HOME/bin

. ./setDomainEnv.sh

java weblogic.WLST


from weblogic.security.internal import BootProperties

BootProperties.load("/u01/app/EBS/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/security/boot.properties", false)

prop = BootProperties.getBootProperties()

print "username: " + prop.getOneClient()

print "password: " + prop.getTwoClient()

No comments:

Post a Comment

Number of Visitors