oracle 10G 配置WEBDBA

1、c:/>cd oracle/product/10.2.0/db_1/oc4j/j2ee/isqlplus/application-deployments/isqlplus
2、
D:/oracle/product/10.2.0/db_1/jdk/bin/java -Djava.security.properties=D:/oracle/product/10.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -jar D:/oracle/product/10.2.0/db_1/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password "welcome" -shell


oracle isqlplus dba账户设置:
  1、cd $ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus

  2、$ORACLE_HOME/jdk/bin/java -Djava.security.properties=$ORACLE_HOME/oc4j/j2ee/home/config/jazn.security.props -jar $ORACLE_HOME/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password admin_password -shell

  3、操作:
  1〉创建用户
  JAZN:〉 adduser "iSQL*Plus DBA" username password
  2〉用户列表
  JAZN:〉 listusers "iSQL*Plus DBA"
  3〉赋予webdba权限
  JAZN:〉 grantrole webDba "iSQL*Plus DBA" username
  4〉删除用户
  JAZN:〉 remuser "iSQL*Plus DBA" username
  5〉撤销webdba权限
  JAZN:〉 revokerole webDba "iSQL*Plus DBA" username
  6〉更改口令
  JAZN:〉 setpasswd "iSQL*Plus DBA" username old_password new_password

  设置完以上步骤,isqlplus需要重起。

adduser "iSQL*Plus DBA" username password

你可能感兴趣的:(oracle,c)