?
Solved

Permission require running sqlplus /nolog (Windows)

Posted on 2014-11-20
2
Medium Priority
?
550 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

764 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