Solved

Permission require running sqlplus /nolog (Windows)

Posted on 2014-11-20
2
452 Views
Last Modified: 2014-11-20
In Windows platform, if the login user ID has local administrator right, can it run a script

sqlplus /nolog
connect / as sysdba
alter database begin backup;

sqlplus /nolog
connect / as sysdba
alter database end backup;
0
Comment
Question by:Keng0499
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 40454613
sqlplus /nolog
 does not need any permissions, it's just to start the sqlplus command line (without actually connecting..., hence no permissions needed)

connect / as sysdba
this does require the local user to be in the ORA_DBA group:
https://docs.oracle.com/cd/B28359_01/win.111/b32010/authen.htm

which also enables this statmenet, as SYSDBA has all powers
alter database end backup;
0
 

Author Comment

by:Keng0499
ID: 40454710
thank you
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question