It is possible to allow the use of sqlplus at OS level to a certain user or group, but restrict the use of "sqlplus / as sysdba" to the same user o group?
Restrict user to use ‘conn /as sysdba’ from OS Level
2k Views Asked by MasterC At
2
There are 2 best solutions below
0
Mark D Powell
On
Normally anyone with an Oracle username assigned to them can use SQLPLus but only members of the Oracle owner OS group can use sqlplus as sysdba without needing a password. This privilege is normally assigned to OS group DBA, but can be different. I have worked on a system where members of the DBA group could not connect using as sysdba since Oracle as set up only in oinstall. This is configured at install time. The answer to your question as asked is, No. If you assign them to the privileged group then they have the privilege.
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
Related Questions in SECURITY
- HTTPS configuration in Spring Boot, server returning timeout
- HSM ZKA control mask values
- OWASP Amass Subcommands
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- When sanitize/encode while implementing tags system like on SO
- spring security version in spring-boot-starter-security
- I am currently trying to implement a rudimentary firewall from a video I watched but the nimda worm detection is not working and i do not know why?
- Is it possible for `sudo` to fail temporarily with the correct password? Hacking suspected
- Is it viable proxying all my mobile apps requests, to some kind knowing that a request is coming from a secure source
- What abilities should I concentrate on while bug hunting, and how can I improve the quality of my bug bounty reports?
- System.ArgumentOutOfRangeException: I passed this error in every single program
- How to prevent users from creating custom client apps?
- Does server-side content security policy exist for youtube video player API, app, mod apks and website?
- Can we pass a hostname/IP address as a query string in a GET request in REST API
Related Questions in UBUNTU
- Error: local variable 'bramka' referenced before assignment
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Can't connect to local postgresql server from my docker container
- How to install libfuse2 on Ubuntu 22.04
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Can anyoone help me with this problem while trying to install hadoop on ubuntu?
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- psutil.sensors.temperatures() only delivers {}
- Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired
- Viber is not working on Ubuntu 22.04 Jammy
- why is ubuntu 18.4 still showing as a linux subsystem when i have uninstalled it?
- Why when I want to open a folder from Visual Studio Code does the screen go crazy?
- What is this error when trying to update Ubuntu?
- Angular on IONOS(?) throws an error with npm
- Tensorflow can't find TensoRT
Related Questions in SYSDBA
- Using Ansible how to connect Oracle DB on Linux & run command "show pdb" to display oracle pluggable DB, "shutdown immediate" to stop DB and start DB
- How do i connect to database using 'sqlplus / as sysdba' rather than 'sqlplus sys/<password> as sysdba'?
- Oracle - unable to create DB link
- Reg: sysdba not logging, system user and other user connecting
- Grant DBA role to a user in cloud
- I inatalled Oracle db 19c and login as user sys as sysdba the error,"ORA-12154: TNS:could not resolve the connect identifier specified" accured
- Changing SYSDBA user password in InterBase
- Ora-01031: insufficient privileges when I create the first user
- How can I change/create the sysdba password for firebird 3.0 embedded
- Can a non sysdba compile dbms_session?
- regarding oracle database "sysdba" user and creating a new user
- Execute sql statement as sys as sysdba
- Oracle 12c pluggable database won't start
- java.lang.SecurityException: policy table update SYS:JAVA.LANG.RUNTIMEPERMISSION, GETCLASSLOADER
- how to specify DBA role while connecting to Oracle DB from a spring boot application
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If I understood your question correctly the answer to the question is YES, as long as the user is not part of the
dbagroup. The execute flag is set for "others" by default, so any user can runsqlplusand connect with a username/password. You don't even have to setup a new user or group specifically, just make sure that the user is not part of thedbagroup:Default rights for
sqlplushave set the execution flag forothers:User
geraldis not part ofdbagroup and therefore not allowed to connect viasqlplus / as sysdba:However, the user
geraldcan still runsqlplusand connect via username/password:Obviously, if you don't want to give users
SYSaccess at all, don't share the SYS password with them!