[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 563
  • Last Modified:

what role needed

What role a user needs so he can grant system privs to others like

GRANT DROP ANY TABLE
GRANT LOCK ANY TABLE
GRANT GRANT ANY ROLE
GRANT SELECT ANY TABLE


Thanks oracle 11.2.0.3
0
Greens8301
Asked:
Greens8301
1 Solution
 
sdstuberCommented:
Dba would do it or imp_full_db. But it would be better to creat your own role
0
 
Greens8301Author Commented:
I think grant grant any privilege to user1 with admin option.

Then user1 can give those grants to others
0
 
Victor TarasovHead of the Department of System AdministrationCommented:
grant select_any_dictionary to view dba_role_privs
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Greens8301Author Commented:
I've requested that this question be deleted for the following reason:

Found solution myself
0
 
awking00Commented:
>>Found solution myself<<
Please post the final solution for the knoledge base.
0
 
Greens8301Author Commented:
The final solution is


SQL>grant grant any privilege to user1 with admin option.

Then user1 has the ability to  give those mentioned grants to others
0
 
sdstuberCommented:
>>> grant grant any privilege to user1 with admin option.


that will work, but, as with the original suggestion - it's not appropriate
 you should create a role that contains the privileges you want and assign that.

also, the question specifically requested a ROLE,  and that answer is not a role.
0
 
Greens8301Author Commented:
The question was what a user NEED in order  to do those functrions

Weather to assign it with a role which is a good practice or assign straight away is maitenance perspective. But what I needed was how can a user do those functions with what privilege given to him  

The answer is "Grant any privilege with admin option" given to the user
0
 
Greens8301Author Commented:
imp_full_db as suggested by sdstuber might work I have not tested it. But it is bit more exhaustive assignment than to specific needs.
0
 
sdstuberCommented:
exactly,  that's why I recommended creating your own role.

you asked what which role you could grant, so I suggested two of the default roles.
but the "better" suggestion is to create your own role.


grant any privilege is the most powerful privilege you can give someone and, it's not a role.
0
 
Greens8301Author Commented:
Sorry for the confusion

Thanks for the role speccific solution
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now