Oracle creates a normal user and gives permissions

Source: Internet
Author: User
Tags create index

Oracle creates a normal user and gives permissions


1) using SYS or system/manager as SYSDBA; Connect to the database.


2) Create peng:create user Peng identified by pwd_oracle;

Delete users, drop user peng;


3) grant the user permission to log on to the database: Grant create session to Peng;


4) grant the user permission to manipulate the table space:

Grant unlimited tablespace to Peng;

Grant create tablespace to Peng;

Grant alter TABLESPACE to Peng;

Grant drop tablespace to Peng;

Grant manage tablespace to Peng;


5) grant permissions to the User action table:

Grant CREATE table to Peng; (Contains the CREATE INDEX permission, ALTER TABLE, DROP TABLE permission)


6) grant permissions to the user operation view:

Grant CREATE view to Peng; (includes ALTER view, DROP VIEW permission)


7) grant permissions to user action triggers:

Grant create trigger to Peng; (Contains ALTER TRIGGER, DROP TRIGGER permissions)


8) grant the user permission to manipulate the stored procedure:

Grant CREATE procedure to Peng; (includes alter procedure, drop procedure and function, and package permissions)


9) grant permissions to the user action sequence:

Grant create sequence to Peng; (includes creation, modification, deletion, and selection sequence)


10) grant the user fallback segment permission:

Grant Create rollback segment to Peng;

Grant alter rollback segment to Peng;

Grant drop rollback segment to Peng;


11) Grant the user synonym permissions:

Grant create synonym to Peng; (including drop synonym permissions)

Grant create public synonym to Peng;

Grant drop public synonym to Peng;


12) grant the user permissions about the user:

Grant create user to Peng;

Grant alter user to Peng;

Grant become user to Peng;

Grant drop user to Peng;


13) Grant the user permissions on the role:

Grant create role to Peng;


14) Grant user permission to manipulate profiles

Grant create profile to Peng;

Grant alter profile to Peng;

Grant drop profile to Peng;


15) allows selection from a data dictionary table owned by the SYS user

Grant Select any dictionary to Peng;


This article is from a "a little" blog, make sure to keep this source http://pengai.blog.51cto.com/6326789/1976439

Oracle creates a normal user and gives permissions

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.