Oracle 建立普通使用者,並賦予許可權

來源:互聯網
上載者:User

標籤:串連數   profile   manage   sysdba   角色   index   https   function   ict   

原文地址:https://www.cnblogs.com/Devin-Blog/p/5556234.html

 

採用sys or system / manager as sysdba; 串連資料庫。建立普通使用者konglin: create user konglin identified by pwd_oracle;刪除使用者, drop user konglin;授予使用者登入資料庫的許可權: grant create session to konglin;授予使用者動作表空間的許可權:grant unlimited tablespace to konglin;grant create tablespace to konglin;grant alter tablespace to konglin;grant drop tablespace to konglin;grant manage tablespace to konglin;授予使用者動作表的許可權:grant create table to konglin; (包含有create index許可權, alter table, drop table許可權)授予使用者操作視圖的許可權:grant create view to konglin; (包含有alter view, drop view許可權)授予使用者操作觸發器的許可權:grant create trigger to konglin; (包含有alter trigger, drop trigger許可權)授予使用者操作預存程序的許可權:grant create procedure to konglin;(包含有alter procedure, drop procedure 和function 以及 package許可權)授予使用者操作序列的許可權:grant create sequence to konglin; (包含有建立、修改、刪除以及選擇序列)授予使用者回退段許可權:grant create rollback segment to konglin;grant alter rollback segment to konglin;grant drop rollback segment to konglin;授予使用者同義字許可權:grant create synonym to konglin;(包含drop synonym許可權)grant create public synonym to konglin;grant drop public synonym to konglin;授予使用者關於使用者的許可權:grant create user to konglin;grant alter user to konglin;grant become user to konglin;grant drop user to konglin;授予使用者關於角色的許可權:grant create role to konglin;授予使用者操作概要檔案的許可權grant create profile to konglin;grant alter profile to konglin;grant drop profile to konglin;允許從sys使用者所擁有的資料字典表中進行選擇grant select any dictionary to konglin;

Oracle 建立普通使用者,並賦予許可權

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.