--乙個使用者可以多種角色,乙個角色可以多少許可權
--oracle 多少角色
select * from dba_roles;
--乙個角色有多少許可權
select * from dba_sys_privs where grantee='connect';--包含系統許可權
select * from dba_tab_privs where grantee='connect';--包含物件許可權
--乙個角色有很多少許可權,許可權又分物件許可權和系統許可權
物件許可權:使用者對其它使用者資料物件操作的許可權。
資料物件包括:表、觸發器、角色、型別。
select * from sys_privilege_map order by name;--檢視系統許可權
select distinct privilege from dba_tab_privs;--檢視物件許可權
--檢視某個使用者有哪些角色
select * from dba_role_privs where grantee='scott';
--顯示當前訪問的資料庫
select * from global_name;
--顯示當前使用者可以訪問的資料字典
select * from dict where comments like '%grant%';
Oracle 使用者許可權分配說明
一般來說,oracle普通使用者建立後,不建議分配dba許可權。那麼一般分配哪些許可權呢?首先來說,乙個oracle普通使用者,我們一般性的要求是 1.能夠在本使用者下進行本使用者相關的建立表結構,資料維護。2.能夠訪問其他使用者的表 看系統屬性 所以,一般採用以下語句 grant connect,...
linux許可權說明
檢視檔案許可權的語句 在終端輸入 ls l 是檔名 那麼就會出現相類似的資訊,主要都是這些 rw rw r 一共有10位數 其中 最前面那個 代表的是型別 中間那三個 rw 代表的是所有者 user 然後那三個 rw 代表的是組群 group 最後那三個 r 代表的是其他人 other 然後我再解釋...
mysql許可權說明
identified by managedb with grant option 現在改變這個使用者的口令為funkychicken,命令格式如下 mysql grant usage on to dbmanager server.host.identified by funkychicken 請注意...