Unlimited tablespace Permissions

Source: Internet
Author: User

When a user is added to Oracle, a connect or resource role is usually assigned, as shown in the following figure:

  Grant connect, resource to chenwm;

However, the connect role has an unlimited tablespace permission, that is, the chenwm user can

To create tables.

Connected
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0

Connected as sys

SQL>Select * From dba_sys_privs where grantee = 'chenwm ';

Grantee privilege admin_option

----------------------------------------------------------------------------------

Chenwm unlimited tablespace No

SQL>

Generally, DBA should disable the unlimited tablespace permission.

SQL>Revoke unlimited tablespace from chenwm;# Revoke the unlimited tablespace permission

Revoke succeeded

SQL>Alter user chenwm quota unlimited on chenwm;# The following chenwm is the tablespace name.

User altered

 

View online information

Unlimted tablespace SYSTEM privileges cannot be granted to roles (as described in the Oracle document)

If the DBA or resource role is granted to the user, the user is automatically granted the system permission of the unlimited tablespace. If you want to revoke the role, the unlimited tablespace system permission will also be revoked. Of course, the unlimited tablespace permission can also be revoked separately.

 

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.