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: Oracle Security Best Practices

Re: Oracle Security Best Practices

From: Jose Luis Delgado <joseluis_delgado_at_yahoo.com>
Date: Thu, 07 Aug 2003 11:39:23 -0800
Message-ID: <F001.005C9815.20030807113923@fatcity.com>

1.-

  1. select encrypted password from dba_users write it on your notebook.
  2. alter the user password to whatever you want.
  3. connect as the user
  4. perform the grant
  5. alter the password back to the original value using alter user xxx identified by values 'old_password' where old_password = the one that you wrote on the notebook

2.- create a procedure to do the grant...

  1. create or replace procedure whatever_user.grant(priv varchar2) is begin execute immediate priv; end;
  2. exec whatever_user.grant('grant select on emp to Sandro');

HTH JL



Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jose Luis Delgado
  INET: joseluis_delgado_at_yahoo.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 Thu Aug 07 2003 - 14:39:23 CDT

Original text of this message

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