Solved

Permission require running sqlplus /nolog (Windows)

Posted on 2014-11-20
2
516 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

705 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