how to use oidpasswd to admin your AS/OID account

netbanker發表於2007-10-21

got an issue that my orcladmin account was not able to login. Here is the approach to reset it:

donot get panic when you hit:

oracle$ oidpassd unlock_su_acct=TRUE
"unable to locate message file: ldap.msb"

set $ORACLE_HOME=/u01/home/oracle/product/10gAS

stzhao:pts/1:drno:rep > oidpasswd connect=tsys unlock_su_acct=true
OID DB user password:
OID super user account unlocked successfully.

it works then :)

[@more@]

Usage: oidpasswd [connect=] [change_oiddb_pwd=true | create_wallet=true | unlock_su_acct=true| reset_su_password=true | manage_su_acl=true]
connect: Database connect string


change_oiddb_pwd: Change OID database password
create_wallet: Create LDAP and Replication server wallets
unlock_su_acct: Unlock OID super user account
reset_su_password: Reset OID super user password
manage_su_acl: Manage super user restriced ACL

  • change_oiddb_pwd=true - Changes the password to the Oracle Internet Directory database. You will be prompted to provide the current database password, enter a new database password, and confirm the new password.

  • create_wallet=true - Create a wallet named oidpwdlldap1 for the Oracle Internet Directory database password, and a wallet, named oidpwdrsid, for the Oracle directory replication server password.

    The sid is obtained not from the environment variable SID but from the connected database.

    You need to provide the ODS password to authenticate yourself to the ODS database before the ODS wallet can be generated. Note that the default ODS password is the same as that for the Oracle Application Server administrator.

  • unlock_su_acct=true - Unlocks a super user account that has been locked.

  • reset_su_password=true - Resets the password for the Oracle Internet Directory super user account. You will be prompted to provide the Oracle Internet Directory database password, enter a new super user password, and confirm the new super user password.

  • manage_su_acl=true - Manages the restricted super user ACL.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/67/viewspace-977959/,如需轉載,請註明出處,否則將追究法律責任。

相關文章