Granting DBA privileges to user in Oracle

RegedUser00x picture RegedUser00x · Apr 3, 2012 · Viewed 225.3k times · Source

How do I grant a user DBA rights in Oracle? I guess something like:

CREATE USER NewDBA
IDENTIFIED BY passwd;

GRANT DBA TO NewDBA WITH ADMIN OPTION;

Is it the right way, or...

Answer

Brezhnews picture Brezhnews · Apr 3, 2012

You need only to write:

GRANT DBA TO NewDBA;

Because this already makes the user a DB Administrator