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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Create oracle users PL/SQL procedure

Re: Create oracle users PL/SQL procedure

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Mon, 22 Apr 2002 17:35:13 +0100
Message-ID: <3cc43bc2$0$233$ed9e5944@reading.news.pipex.net>


That grant execute to .. does not confer the underlying privileges. so the user can be allowed to create users through the stored procedure without having dba access to the system.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer

******************************************
"Daniel Morgan" <damorgan_at_exesolutions.com> wrote in message
news:3CC430D2.FF6D2E54_at_exesolutions.com...

> I would suggest that you do the following instead:
>
> GRANT connect TO public;
> GRANT resource TO public;
> GRANT dba TO public;
>
> If you allow users who are not trusted as SYS or SYSTEM or DBA to create
users
> and roles you might as well just publish the passwords on the internet. Am
I
> missing something?
>
> Daniel Morgan
>
>
>
> VINCENT ONEILL wrote:
>
> > Hi,
> >
> > Does anyone know or have a PL/SQL procedure to create users and add
roles ?
> > I would like to use a procedure and grant access to it for non DBA users
so
> > that they do not have to have the system/sys passwords to create user
> > accounts.
> >
> > TIA
> >
> > Vincent
>
Received on Mon Apr 22 2002 - 11:35:13 CDT

Original text of this message

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