标签:acl rev grant creat sys ace evo 系统 number
create user test identified by test;
grant create session to test;
grant create table to test; 这个时候还没有使用表空间的权限,还不可以建表
grant unlimited tablespace to test;
create table test (sno number);
create table scott.test(id int);
grant create any table to test;
conn scott/tiger;
select * from tab;
conn sys as sysdba;
select * from dba_sys_privs d where d.grantee=‘TEST‘; 查看test用户的权限
create user test2 identified by test2;
grant create session to test2 with admin option; 后面选项的意思是可以把创建会话的权限继续传递下去。
create user test3 identified by test3;
conn test2/test2;
grant create session to test3;
conn sys as sysdba;
revoke create session from test2;
conn test2/test2; 连接不上
conn test3/test3; 可以连接上
标签:acl rev grant creat sys ace evo 系统 number
原文地址:https://www.cnblogs.com/BaiLaowu/p/9275493.html