Authorization for CONNECT, RESOURCE, and DBA in ORACLE, oracledba

Source: Internet
Author: User

Authorization for CONNECT, RESOURCE, and DBA in ORACLE, oracledba

CONNECT, RESOURCE, and DBA are the three built-in roles of the ORACLE system. The role permissions are as follows:

CONNECT: users with the Connect permission can only log on to ORACLE, create entities, and create database structures.

RESOURCE: users with Resource permissions can only create entities, but cannot create database structures.

DBA: it has all the privileges and is the highest system permission. only DBA can create a database structure.

Generally, CONNECT and RESOURCE permissions are granted to common users. For administrator users, CONNECT, RESOURCE, and DBA permissions are granted.

Syntax of the role:

    grant <object/system privilege> to <role name>;

View the number of permissions of all roles:

    select role, count(*) from role_sys_privs group by role;

View the permissions of a role (such as RESOURCE:

    select grantee,privilege from dba_sys_privs where grantee='RESOURCE' order by privilege;

You can see through the query that only one permission in the CONNECT role is "create session ":


The permissions of the DBA role also include:

 

 

 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.