Solved

Permission require running sqlplus /nolog (Windows)

Posted on 2014-11-20
2
433 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 142

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

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

803 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