Oracle Notes Rights Management

Source: Internet
Author: User
Tags administrator password

Rights Management
1, default of three users
2, create user
3, Authorization, REVOKE permissions
4, System permissions and object permissions
5, role
6, Manage permissions by role
7. How to pass the permission, lose the administrator password

3 Default Users

User name password

SYS Change_on_install
System Manager
Scott Tiger

Cmd
Go to command line

Sqlplus/as Sysdba;
Or
Sqlplus Sys/change_on_install as SYSDBA;
Log in as Network Database administrator Sys

The Oracle instance and listener service must be started to connect to the database;
Start monitoring: Lsnrctl start;
Launch instance: Oradim-starup-sid ORCL;

Show user;
Show currently logged on user

Create user Lisi identified by Lisi;
Create a new user Lisi;

Sqlplus Lisi/lisi;
Log in with the newly created user Lisi


Administrator user Authorization for newly created user

Log in with an administrator

Grant create session to Lisi;
Grant session permissions, with this permission to connect to the database;

Grant CREATE table to Lisi;
Grant permissions to create a table

Grant unlimited tablespace to Lisi;
Granting Unrestricted Table space permissions

Permissions are granted before tables can be created

Log in as Lisi user

CREATE TABLE mytable (id int);
Create a table
INSERT INTO mytable values (1);
Inserting records
SELECT * FROM MyTable;
Query records

Revoke permissions
Revoke CREATE table from Lisi;

To view the permissions that a user has
SELECT * from User_sys_privs;

Modify User Password

Alter user username identified by password;


Not to be continued ...

Related Article

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.