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

Home -> Community -> Usenet -> c.d.o.server -> Re: sqlplus script dropping conected user

Re: sqlplus script dropping conected user

From: gazzag <gareth_at_jamms.org>
Date: Thu, 13 Sep 2007 08:28:18 -0700
Message-ID: <1189697298.271114.85940@o80g2000hse.googlegroups.com>


On 13 Sep, 14:54, Mladen Gogala <mgog..._at_yahoo.com> wrote:
>
> connect / as sysdba
> startup force restrict
>
> Then you can execute your script.
>
> --http://www.mladen-gogala.com

Always assuming that no other users within the database have the DBA role granted to them, obviously. I always start to seethe when I read something akin to the following in an application installation guide:

  1. Create a user xxx in the database.
  2. Issue the following command as SYSTEM: GRANT DBA TO xxx;
  3. Run the database install scripts...

I've actually had vendors saying to me "But it needs the DBA _privilege_ to run..." Profoundly uninformed, lazy and dangerous.

</seethe> Received on Thu Sep 13 2007 - 10:28:18 CDT

Original text of this message

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