Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Revoke system privilege from user

Re: Revoke system privilege from user

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Thu, 01 Mar 2001 06:52:18 -0800
Message-ID: <F001.002C0A31.20010301061058@fatcity.com>

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 mm

>>> chuan_at_asiaonline.net 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: chuan_at_asiaonline.net 

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: ListGuru_at_fatcity.com (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: RROGERS_at_galottery.org

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: ListGuru_at_fatcity.com (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).
Received on Thu Mar 01 2001 - 08:52:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US