Users of Oracle

Source: Internet
Author: User

1.Oracle provides privileged users, such as SYSDBA or Sysoper, who are primarily used to perform maintenance operations on the database, such as starting a database, shutting down a database, establishing a database, and performing operations such as backup and recovery. The difference between SYSDBA and Sysoper is that SYSDBA not only has all the permissions of Sysoper, but also can establish a database and perform incomplete recovery.

Connect system/123456 as SYSDBA; login database as a privileged user

2. Create a user

Create user user_name identified by Pass_word default tablespace users temporary tablespace temp;

3. Modify the user

Alter user east identified by 123456; Change Password

Alter user East quota 20m on tbsp_1;//modify the disk quota on the tablespace to 20MB

Alter user SH account unlock; Unlock sh user

3. User authorization

Connect system/123456

Grant Connect,resource to east;

4. Object authorization

Grant Select,insert,delete,update on scott.emp to Xifang;

5. Revoke User Rights

Revoke resource from East; Revoke resource permissions for East

6. Revoke Object permissions

Connect system/123456

Revoke delete,update on scott.emp from Xifang;

7. Delete a user

Drop user User_name[cascade];

Users of Oracle

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.