What permissions do the default roles connect and resource roles have

Source: Internet
Author: User
Tags dba

For the average person, we give the Connect,resource permission when we create it, but in general, having these permissions is sufficient, but do you know what specific permissions these two permissions have?

Default permissions for 1.CONNECT:

ALTER Session Create CLUSTER Create DATABASE LINK Create SEQUENCE Create session create synonym Create TABLE create VIEW

Default permissions for 2.RESOURCE:

Create CLUSTER Create Indextype Create OPERATOR Create PROCEDURE Create SEQUENCE Create TABLE create TRIGGER create TYPE

3. For the above role, the permissions can actually be found through the following SQL statements:

Select privilege from Dba_sys_privs where grantee like \ ' connect\ '

Select privilege from Dba_sys_privs where grantee like \ ' resource\ '

Of course, with this statement, you can also check the permissions of other system-predefined roles, such as DBA authority:

Select privilege from Dba_sys_privs where grantee like \ ' Dba\ '

Administer DATABASE TRIGGER administer RESOURCE MANAGER alter any CLUSTER alter ...

SELECT * from role_sys_privs WHERE role = ' RESOURCE ';


Alter user SCOTT quota unlimited on users;
To give users the right to use a table space.

Turn from: http://blog.163.com/zhangjian_sundun/blog/static/77097301200806113124695/

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.