Oracle Password File

Creating a Password File and Adding New Users to It
Use the following procedure to create a password and add new users to it:
1. Follow the instructions for creating  a password file as explained in "Creating a Password File with ORAPWD"  on page 1-23.
2. Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE. (This is the default.)
3. Connect with SYSDBA  privileges as shown in the following example, and enter the SYS  password when prompted:CONNECT SYS AS SYSDBA
4. Start up the instance and create the databa se if necessary, or mount and open an existing database.
5. Create users as necessary. Grant SYSDBA  or  SYSOPER privileges to yourself and other users as appropriate. See  "Granting and Revoking SYSDBA and SYSOPER Privileges" , later in this section.

 

1. Identify the users who have  SYSDBA  or  SYSOPER privileges by querying the V$PWFILE_USERS view.
2. Delete the existing password file.
3. Follow the instructions for creating a new password file using the ORAPWD  utility in "Creating a Password File with ORAPWD"  on page 1-23. Ensure that the ENTRIES parameter is set to a number larger than you think you will ever need.

4. Follow the instructions in  "Adding Users to a Password File" on page 1-26.

 

ps:  REMOTE_LOGIN_PASSWORDFILE is in $ORACLE_HOME/dbs/init.ora

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值