In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article is about how Oracle creates ordinary users and gives them permissions. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Oracle creates ordinary users and gives them permissions
1) use sys or system / manager as sysdba; to connect to the database.
2) create an ordinary user peng: create user peng identified by pwd_oracle
Delete user, drop user peng
3) Grant the user permission to log in to the database: grant create session to peng
4) Grant the user permission to manipulate the tablespace:
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 the user permission to manipulate the table:
Grant create table to peng; (including create index permission, alter table permission, drop table permission)
6) Grant the user permission to manipulate the view:
Grant create view to peng; (including alter view, drop view permissions)
7) Grant the user the right to operate the trigger:
Grant create trigger to peng; (including alter trigger, drop trigger permissions)
8) Grant the user permission to operate the stored procedure:
Grant create procedure to peng; (including alter procedure, drop procedure and function, and package permissions)
9) Grant the user permission to operate the sequence:
Grant create sequence to peng; (including create, modify, delete, and select sequences)
10) Grant the user the permission to return the segment:
Grant create rollback segment to peng
Grant alter rollback segment to peng
Grant drop rollback segment to peng
11) Grant synonym permissions to users:
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 on 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 the user permission to operate the profile
Grant create profile to peng
Grant alter profile to peng
Grant drop profile to peng
15) allow selection from data dictionary tables owned by sys users
Grant select any dictionary to peng
Thank you for reading! This is the end of the article on "how to create ordinary users and grant permissions to Oracle". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.