Unix Technical Forum

How give full permission on a schema to a user

This is a discussion on How give full permission on a schema to a user within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi There, I created 3 different table spaces as default schema for 3 Oracle user, What's the easiest way ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 12:19 PM
Sam
 
Posts: n/a
Default How give full permission on a schema to a user

Hi There,
I created 3 different table spaces as default schema for 3 Oracle user,
What's the easiest way to give them full permission
on their schema to create, update,delete ... all kind of objects and
add,delete,... records to their objects
but minimum possible permissions on the system and other schemas,

Thank you in advance - Sam


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 12:19 PM
DA Morgan
 
Posts: n/a
Default Re: How give full permission on a schema to a user

Sam wrote:
> Hi There,
> I created 3 different table spaces as default schema for 3 Oracle user,
> What's the easiest way to give them full permission
> on their schema to create, update,delete ... all kind of objects and
> add,delete,... records to their objects
> but minimum possible permissions on the system and other schemas,
>
> Thank you in advance - Sam


Can't imagine why you would create different tablespaces for different
users as Oracle != SQL Server.

But when you create users you assign the quota:

CREATE USER ...
IDENTIFIED BY ...
DEFAULT TABLESPACE ...
TEMPORARY TABLESPACE ...
QUOTA ... ON ...;

--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 12:19 PM
Mark D Powell
 
Posts: n/a
Default Re: How give full permission on a schema to a user

On Feb 16, 8:39 pm, DA Morgan <damor...@psoug.org> wrote:
> Sam wrote:
> > Hi There,
> > I created 3 different table spaces as default schema for 3 Oracle user,
> > What's the easiest way to give them full permission
> > on their schema to create, update,delete ... all kind of objects and
> > add,delete,... records to their objects
> > but minimum possible permissions on the system and other schemas,

>
> > Thank you in advance - Sam

>
> Can't imagine why you would create different tablespaces for different
> users as Oracle != SQL Server.
>
> But when you create users you assign the quota:
>
> CREATE USER ...
> IDENTIFIED BY ...
> DEFAULT TABLESPACE ...
> TEMPORARY TABLESPACE ...
> QUOTA ... ON ...;
>
> --
> Daniel A. Morgan
> University of Washington
> damor...@x.washington.edu
> (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org


You will also want to grant the users object creation permissions like

create session <== so they can connect
create table <== to create tables
create view <== if you want them to be able to define views
create procedure <== if the user is to be allowed to create stored
procedures including functions and packages
....
See the SQL manul for a complete list of available object privileges

Avoid the use of the obsolete role connect and resource. These exist
for backward compatiability.

HTH -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com