Search notes:

Oracle system privilege: SYSDBA

SYSDBA is an Oracle system privilege. Compare this privilege with DBA which is an Oracle maintained role.
A user logged in as SYSDBA is allowed to do anything on a database, including
SYSDBA is also required to execute oradebug.
In order to exercise the SYSDBA privilege, a user must connnect «*as sysdba*».
The SYSDBA privilege cannot be granted to PUBLIC.

Granting SYSDBA to a user

If a user is granted the SYSDBA privilege, this privilege is recorded in the password file, not in DBA_SYS_PRIVS:
select
   username,
   sysdba,
   last_login
from
   v$pwfile_users;

select * from dba_sys_privs where grantee = 'RENE' and privilege = 'SYSDBA';

grant sysdba to rene;

select
   username,
   sysdba,
   last_login
from
   v$pwfile_users;
--
-- RENE now found in v$pwfile_users
--

select * from dba_sys_privs where grantee = 'RENE' and privilege = 'SYSDBA';
--
-- RENE still not found in v$pwfile_users
--

revoke sysdba from rene;

select
   username,
   sysdba,
   last_login
from
   v$pwfile_users;
--
-- RENE gone from in v$pwfile_users
--

See also

Oracle: System privileges

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758198862, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/security/privileges/system/sys/dba/index(95): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78