Ilovedatabase’s Blog

Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?

Posts Tagged ‘dba’

Some grant hints

Posted by ilovedatabase on 27 Jul 2009

Firstly create a “sample” user with “sample_pass” password;

create user sample identified by sample_pass;

Some commands that grant user on objects and roles;

grant dba to sample;   –gives dba role to sample user

grant create database link to sample; –now, user can create db link

grant create table to sample; –user can create table under defined schema

grant drop any table to sample; –grants user to drop table under any schema, there is no “drop table” –option!

grant create procedure to sample; –grants user to create function, package or procedure

If we use, “with admin option” clause at the end of command, this gives grantee to give privileges to any user under the defined grant option.

Posted in ORACLE | Tagged: , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.