oracle建立普通使用者 normal 授權

2021-09-26 11:09:12 字數 2191 閱讀 2625

建立普通使用者

create

user aml identified by

123456

;

刪除使用者

drop

user aml ;

授予使用者登入資料庫的許可權

grant

create

session

to aml;

授予使用者操作表空間的許可權

grant unlimited tablespace

to aml;

grant

create

tablespace

to aml;

grant

alter

tablespace

to aml;

grant

drop

tablespace

to aml;

grant manage tablespace

to aml;

授予使用者操作表的許可權(包含有create index許可權, alter table, drop table許可權)

grant

create

table

to aml;

授予使用者操作檢視的許可權(包含有alter view, drop view許可權)

grant

create

view

to aml;

授予使用者操作觸發器的許可權(包含有alter trigger, drop trigger許可權)

grant

create

trigger

to aml;

授予使用者操作儲存過程的許可權(包含有alter procedure, drop procedure 和function 以及 package許可權)

grant

create

procedure

to aml;

授予使用者操作序列的許可權(包含有建立、修改、刪除以及選擇序列)

grant

create sequence to aml;

授予使用者回退段許可權

grant

create

rollback segment to aml;

grant

alter

rollback segment to aml;

grant

drop

rollback segment to aml;

授予使用者同義詞許可權

grant

create synonym to aml;

(包含drop synonym許可權)

grant

create

public synonym to aml;

grant

drop

public synonym to aml;

授予使用者關於使用者的許可權

grant

create

user

to aml;

grant

alter

user

to aml;

grant become user

to aml;

grant

drop

user

to aml;

授予使用者關於角色的許可權

grant

create role to aml;

授予使用者操作概要檔案的許可權

grant

create profile to aml;

grant

alter profile to aml;

grant

drop profile to aml;

允許從sys使用者所擁有的資料字典表中進行選擇

grant

select

any dictionary to aml;

Linux建立普通使用者

一 建立普通使用者 admin 建立user目錄 mkdir home user 建立user01使用者 adduser d home user user01 user01 更改使用者 admin 的密碼 passwd user01 新的 密碼 重新輸入新的 密碼 passwd 所有的身份驗證令牌已...

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

採用sys or system manager as sysdba 連線資料庫。建立普通使用者konglin create user konglin identified by pwd oracle 刪除使用者,drop user konglin drop user xx 只是刪除使用者 drop ...

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

1.採用 使用者名稱 sys 密碼 123456 自己安裝orcale時設定的 使用者名稱 system 密碼 123456 自己安裝orcale時設定的 建立普通使用者konglin create user kxc identified by 123456 刪除使用者,drop user kxc ...