Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the permissions of the default roles CONNECT and RESOURCE

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

For ordinary people, we grant them CONNECT,RESOURCE permissions after they are created, but generally speaking, it is enough to have these permissions, 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. The permissions of the above roles can actually be found through the following SQL statement:

Select privilege from dba_sys_privs where grantee like\ 'CONNECT\' select privilege from dba_sys_privs where grantee like\ 'RESOURCE\'

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

Select privilege from dba_sys_privs where grantee like\ 'DBA\'

ADMINISTER DATABASE TRIGGER ADMINISTER RESOURCE MANAGER ALTER ANY CLUSTER ALTER AN.

SELECT * FROM ROLE_SYS_PRIVS WHERE ROLE = 'RESOURCE'

Alter user SCOTT quota unlimited on users

To give the user the right to use a table space

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report