Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Internal Good Websites 1 Oracle
  • Complete Git Tutorial for Beginners GIT
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Export Import with QUERY Oracle
  • v$backup.status information Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • find checksum of a file. Linux/Unix
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • create a folder in multiple places Linux/Unix
  • Database logon trigger issue Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Add new columns in dataframe Python/PySpark
  • find_pdbs.sql Uncategorized

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

  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Find nth max and min. Oracle
  • Pending Distributed Transations Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Very clear article about oracle dataguard 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
  • Removing Blank lines from file using grep Linux/Unix
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • The most important Tuning Notes Oracle
  • RAC with RHEL4 and 11g Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme