In order to "revoke" a privilege you have to "grant" it. All you did was grant the
role "DBA" and the inherent privileges that role has. To accomplish what you want to
do, create a new role with the privileges you want to grant and grant the role to the
user or grant only the privileges you want to the user.
ROR mª¿ªm
>>> [EMAIL PROTECTED] 03/01/01 12:25AM >>>
Hi, All,
I have granted DBA role to an user. But I don't want him holding the
"Drop Any Table" system privilege.
I did as follows:
1. Connect as sysdba.
2. revoke drop any table from ABC-user;
And I got the error:" ORA-01952: system privileges not granted to
'ABC-user'".
Could anyone help me out?
Thanks,
Chuan
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Chuan Zhang
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).