Brief Introduction to the Oracle Database Administrator authentication method

Source: Internet
Author: User

In Oracle, user permissions are divided into two types (this article does not involve dba or role permissions, but only describes the permissions of common users ), system Privilege System permission and User Table Privilege User data Table permission.

◆ 1. First, create a user. The following commands can be used to create a user, provided that you must Log On As a dba (if you are not a DBA, do not check it ):

Create user DB_USER identified by DB_USER_PW

Create user DB_USER with the password DB_USER_PW

Grant create session to DB_USER

Permission to create a session for a user

Grant resource to DB_USER

◆ 2. After a user is created, Scheme of the user is automatically generated in the Oracle database system (which can be understood as all tables and views of the user ...... ).

This user can grant access permissions to these objects to other system users.

◆ 3. After the user logs on with sqlplus, the following command shows the user's Permissions

This user has the following permissions to read other user objects:

Select * from user_tab_privs;

System permissions of this user:

Select * from user_sys_privs;

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.