how to use oidpasswd to admin your AS/OID account

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/67/viewspace-977959/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值