Oracle Rights Management

Source: Internet
Author: User

The Oracle database has just been installed today, the latest Oraclexe112_win32

Read the video of the Wisdom podcast, learn Oracle Create users and assign permissions to users, revoke permissions

3 Default Users
SYS change_on_install (password inside oracle9) [Be sure to write as SYSDBA]
System manager//A user-specified password at the beginning of Oracle10
Scott Tiger

CMD command to start monitoring: Lsnrctl start
Launch instance: Oradim-starup-sid oral

Show user;//display the current user name
Create user Lisi identified by lisi;//creating a subscriber Lisi and giving him the password Lisi
Assigning permissions to Lisi users through SYS
Grant create session to lisi;//gives Lisi permissions

(This is not the same as my test, this version of my sqlplus Lisi/lisi will pop up error invalid Username/password; Logon denied,

Then let you enter the user name, password, error, prompting user Lisi lacks CREATE SESSION privilege; Logon denied, said you did not create a session, and then use the SYS user to create a session. )
Grant CREATE table to lisi;//gives Lisi permission to create tables, but even with this permission, a table space permission is required to create the table
Grant unlimited tablespace to Lisi;

When a table is created, the user has insert into, select,drop, and so on for this table, and does not require SYS assignment permission.
Revoke permissions
Revoke CREATE table from Lisi;

Oracle provides a special view to see what system permissions the current user has

SELECT * from User_sys_privs;

Oracle Rights Management

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.