- 论坛徽章:
- 0
|
SQL> conn / as sysdba
Connected.
SQL> grant select any table to dbuser001;
Grant succeeded.
SQL> grant alter user to dbuser001;
Grant succeeded.
SQL> grant create trigger,drop tablespace to dbuser001;
Grant succeeded.
SQL> grant unlimited tablespace to dbuser001;
Grant succeeded.
SQL> conn dbuser001/password1
Connected.
SQL> select * from user_sys_privs;
USERNAME PRIVILEGE ADM
------------------------------ ---------------------------------------- ---
DBUSER001 ALTER USER NO
DBUSER001 DROP TABLESPACE NO
DBUSER001 SELECT ANY TABLE NO
DBUSER001 CREATE TRIGGER NO
DBUSER001 UNLIMITED TABLESPACE NO
DBUSER001 SELECT ANY DICTIONARY NO
DBUSER001 CREATE TABLESPACE NO
7 rows selected.
我用DBA用户授权后。为什么dbuser001用户查询当前用户的系统权限是,ADM显示是NO。
谢谢~!! |
|