11g文档学习----sysdba sysoper OSDBA OSOPER

news/2024/10/18 2:40:47/
11 g Release 2 (11.2)》Supporting Documentation》Administrator's Guide》 1 Getting Started with Database Administration

SYSDBA and SYSOPER

The following operations are authorized by the SYSDBA and SYSOPER system privileges:

System Privilege Operations Authorized
SYSDBA
  • Perform STARTUP and SHUTDOWN operations
  • ALTER DATABASE: open, mount, back up, or change character set

  • CREATE DATABASE

  • DROP DATABASE

  • CREATE SPFILE

  • ALTER DATABASE ARCHIVELOG

  • ALTER DATABASE RECOVER

  • Includes the RESTRICTED SESSION privilege

Effectively, this system privilege allows a user to connect as user SYS.

SYSOPER
  • Perform STARTUP and SHUTDOWN operations
  • CREATE SPFILE

  • ALTER DATABASE OPEN/MOUNT/BACKUP

  • ALTER DATABASE ARCHIVELOG

  • ALTER DATABASE RECOVER (Complete recovery only. Any form of incomplete recovery, such as UNTIL TIME|CHANGE|CANCEL|CONTROLFILE requires connecting as SYSDBA.)

  • Includes the RESTRICTED SESSION privilege

This privilege allows a user to perform basic operational tasks, but without the ability to look at user data.


The manner in which you are authorized to use these privileges depends upon the method of authentication that you use.

When you connect with SYSDBA or SYSOPER privileges, you connect with a default schema, not with the schema that is generally associated with your username. For SYSDBA this schema is SYS; for SYSOPER the schema is PUBLIC.



OSDBA and OSOPER

Membership in one of two special operating system groups enables a DBA to authenticate to the database through the operating system rather than with a database user name and password. This is known as operating system authentication. These operating system groups are generically referred to as OSDBA and OSOPER. The groups are created and assigned specific names as part of the database installation process. The default names vary depending upon your operating system, and are listed in the following table:

Operating System Group UNIX User Group Windows User Group
OSDBA dba ORA_DBA
OSOPER oper ORA_OPER

Oracle Universal Installer uses these default names, but you can override them. One reason to override them is if you have multiple instances running on the same host computer. If each instance is to have a different person as the principal DBA, you can improve the security of each instance by creating a different OSDBA group for each instance. For example, for two instances on the same host, the OSDBA group for the first instance could be named dba1, and OSDBA for the second instance could be named dba2. The first DBA would be a member of dba1 only, and the second DBA would be a member of dba2 only. Thus, when using operating system authentication, each DBA would be able to connect only to his assigned instance.

Membership in the OSDBA or OSOPER group affects your connection to the database in the following ways:

  • If you are a member of the OSDBA group and you specify AS SYSDBA when you connect to the database, then you connect to the database with the SYSDBA system privilege.

  • If you are a member of the OSOPER group and you specify AS SYSOPER when you connect to the database, then you connect to the database with the SYSOPER system privilege.

  • If you are not a member of either of these operating system groups and you attempt to connect as SYSDBA or SYSOPER, the CONNECT command fails.

    See Also:

    Your operating system specific Oracle documentation for information about creating the OSDBA and OSOPER groups

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29519108/viewspace-1423452/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29519108/viewspace-1423452/


http://www.ppmy.cn/news/157619.html

相关文章

11G GI 安装同时跑脚本测试

问题:11G执行第二个脚本时间较长,测试两机器同时跑脚本 测试结果: 不能同时执行,必须依次执行,第二个脚本同时执行会因磁盘争夺导致失败; 第2个脚本先执行的节点,ASM SID将是第一个&#xff…

oracle杀掉pmon进程的影响,11g_测试kill杀死 background process后台进程与alert

----oracle后台进程 -bash-3.2$ ps -ef|grep ora_ oracle 4079 1 0 04:30 ? 00:00:05 ora_pmon_zxy oracle 4081 1 0 04:30 ? 00:00:03 ora_vktm_zxy oracle 4085 1 0 04:30 ? 00:00:01 ora_gen0_zxy oracle 4087 1 0…

ORACLE11G 性能调优学习

Oracle? Database 2 Day Performance Tuning Guide 11g Release 2 (11.2) E10822-04 重点需要掌握的工具 ADDM ASH ASSM Part I 一:调优工具 1、Oracle Database 11g Enterprise Edition 2、Oracle Enterprise Manager 3、Oracle Diagnostics Pack 4、Oracle Dia…

linux安装11g rac

 1、检查系统所需的软件包 rpm -qa | grep -E "binutils|compat-libstdc|elfutils-libelf|gcc|glibc|libaio|libgcc|libstdc|make|sysstat|unixODBC|pdksh" [roottestdb01 /]# rpm -qa | grep -E "binutils|compat-libstdc|elfutil…

Jzoj4743 积木

由于n很小(<15)我们考虑状态压缩 显然可以用三进制&#xff08;雾&#xff09;但是太浪费了 我们令f[i][j][s]表示现在已用的积木状态为S&#xff0c;最上面那个积木是第i个&#xff0c;其中这个积木的第j(0<j<3)条边是竖着的&#xff08;不在上表面&#xff09; 转移…

宏碁笔记本安装黑苹果过程记录

之前用这台笔记本装过Ubuntu&#xff0c;装过Deepin&#xff0c;今天继续折腾装一个黑苹果。 首先先做一个启动盘。我用的工具是Rufus&#xff0c;一款特别小众的软件&#xff0c;不过还是挺好用的。 image.png 然后就是写入镜像 image.png 镜像写入好之后插上电脑开机&#xf…

宏碁4743G+固态硬盘(SSD)+机械硬盘(HHD)混合用

原材料&#xff1a;&#xff08;某东上买的&#xff0c;二手东有个好处就是可以退货&#xff0c;开始买的某顿&#xff0c;评价貌似不太好&#xff0c;直接退货&#xff09; 三星理论上&#xff0c;SATA3接口能达到500M/S&#xff0c;可惜本本太老&#xff0c;只支持SATA2的了&…

接口幂等方案

文章目录 概要方案乐观锁数据库唯一索引令牌tokentoken通过另一个接口从服务端获取客户端自身生成token 总结 概要 所谓接口幂等性&#xff0c;就是一次和多次请求某一个资源对于资源本身应该具有同样的影响。接口幂等的应用很广&#xff0c;小到防止表单重复提交&#xff0c;…