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: [Q] how to check object or role grant to public?

Re: [Q] how to check object or role grant to public?

From: Thomas Day <tday6_at_csc.com>
Date: Tue, 11 Feb 2003 10:09:57 -0800
Message-ID: <F001.00549A5A.20030211100957@fatcity.com>

This asks for two parameters, the userid and the db_link. If you leave the db_link blank then it looks for the userid on the present database. To check for public give auserid of public. Slice and dice to fit your needs.

undefine enter_username
undefine link
clear columns
set linesize 80
set verify on

                                                                                                                                       
                      "dist cash"                                                                                                      
                      <mccdba                  To:      Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                    
                      @hotmail.com>            cc:                                                                                     
                      Sent by: root            Subject: [Q] how to check object or role grant to public?                               
                                                                                                                                       
                                                                                                                                       
                      02/11/2003 12:49                                                                                                 
                      PM                                                                                                               
                      Please respond                                                                                                   
                      to ORACLE-L                                                                                                      
                                                                                                                                       
                                                                                                                                       





e have ORACLE 8.1.7 on SUN erver. My question are:

  1. how to check which object or role are grant to public (from DBA)? (e.g. grant select on tax to public)
  2. How to check which object or role are grant to which users?

Thanks.



STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: dist cash
  INET: mccdba_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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.net
-- 
Author: Thomas Day
  INET: tday6_at_csc.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Feb 11 2003 - 12:09:57 CST

Original text of this message

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