Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Export With Query Another Example. Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • myfile Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • How to see which patches are applied. Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Important Solaris Commands Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • useful dg links Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle

SYSOPER Mystery

Posted on 26-Sep-2005 By Admin No Comments on SYSOPER Mystery

Problem Description

~~~~~~~~~~~~~~~~~~~

A user connected AS SYSOPER can only STARTUP and SHUTDOWN the database, but cannot select any data from the dictionary, nor perform any other operations on the database.

If you grant the appropriate privilege required to the OPERATOR user, it still does not work.

Example:

~~~~~~~~

SVRMGR> CREATE USER operator IDENTIFIED BY operator;

Statement processed.

SVRMGR> GRANT dba TO operator;

Statement processed.

SVRMGR> GRANT sysoper TO operator;

Statement processed.

SVRMGR> CONNECT operator/operator

Connected.

SVRMGR> SELECT username FROM dba_users;

USERNAME

——————————

SYS

SYSTEM

OUTLN

SCOTT

OPERATOR

5 rows selected.

SVRMGR> connect operator/operator as sysoper

Connected.

SVRMGR> select * from dba_users;

select * from dba_users

*

ORA-00942: table or view does not exist

SVRMGR> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

SVRMGR> startup

ORACLE instance started.

Database mounted.

Database opened.

SVRMGR> CONNECT system/manager

Connected.

SVRMGR> GRANT select any table TO operator;

Statement processed.

SVRMGR> CONNECT operator/operator AS SYSOPER

Connected.

SVRMGR> SELECT * FROM DBA_USERS;

SELECT * FROM DBA_USERS

*

ORA-00942: table or view does not exist

Solution Description

~~~~~~~~~~~~~~~~~~~~

Grant the required privilege to the appropriate user.

SVRMGR> SELECT user FROM dual;

USER

——————————

PUBLIC

1 row selected.

SVRMGR> CONNECT system/manager

Connected.

SVRMGR> GRANT select any table TO PUBLIC;

Statement processed.

SVRMGR> CONNECT operator/operator AS SYSOPER

Connected.

SVRMGR> SELECT username FROM dba_users;

USERNAME

——————————

SYS

SYSTEM

OUTLN

SCOTT

OPERATOR

5 rows selected.

Explanation

~~~~~~~~~~~~

A user connected AS SYSOPER does not have the same set of privileges as if logged on as a “normal” user, and is no longer connected under the username he connected with.

Oracle, SQL scripts

Post navigation

Previous Post: Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT
Next Post: Important Solaris Commands

Related Posts

  • Rollback force for distributed transactions Oracle
  • EXTPROC Oracle
  • Giving Grant on v$DATABASE Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Good Site for Oracle Internals Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • database trigger failing Oracle
  • Another export with Query Oracle
  • Good Site for Oracle Internals Oracle
  • For Search and replace unix command. Linux/Unix
  • sqlnet.ora paramters Oracle
  • FRA Information. Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme