Exactly what do you mean by root or adminstrative privileges in Oracle? Do you want users to provide SYSDBA? Or, in older versions of Oracle, there was a DBA role that had an extensive set of privileges that gave the user the ability to do anything. It has a reduced feature set in 11g. The answer given by @ client09 is useful to determine what each user can do.
For me, the root user in Oracle is the SYSDBA account, the default user is SYS. Anyone who has granted this privilege can log in to the "AS SYSDBA" system, which gives this user full control over the database. You can specify the users who are granted this privilege using this selection:
SELECT * FROM v$pwfile_users;
Interestingly, if I am given the SYSDBA role and I log in as sysdba, the actual user in the Oracle session is SYS:
SQL> create user test identified by test; User created. SQL> grant create session to test; Grant succeeded. SQL> grant sysdba to test; Grant succeeded. SQL> connect test/test as sysdba Connected. SQL> select user from dual; USER ------------------------------ SYS SQL> select * from v$pwfile_users; USERNAME SYSDB SYSOP SYSAS ------------------------------ ----- ----- ----- SYS TRUE TRUE FALSE TEST TRUE FALSE FALSE
source share