Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problemm with dba group vs oinstall group

JhilJan 4 2013 — edited Jan 5 2013
Hi to all ;


This is related to oracle as well as some os related security problems. please clarify it.
I tried but couldn't solve it All information's given here ..

Testing from user 'A'

+# useradd -m -g oinstall a+

+# passwd a+

Changing password for user a.

New UNIX password:

BAD PASSWORD: its WAY too short

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

su - a

+[a@testorcl ~]$ export+

ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1

+$ export PATH=$PATH:$ORACLE_HOME/bin+

+$ export ORACLE_SID=testdb+

+$ sqlplus /nolog+

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 3 01:33:49 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.

Testing From user 'b' :


+# useradd -m -g dba b+

+# passwd b+

Changing password for user b.

New UNIX password:

BAD PASSWORD: its WAY too short

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

su - b

Password:

+$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1+

+$ export PATH=$PATH:$ORACLE_HOME/bin+

+$ export ORACLE_SID=testdb+

+$ sqlplus /nolog+

sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

*>> From oracle user finding libsqlplus.so >>*

*[oracle@testorcl ~]$*
*$ find / -name libsqlplus\* -ls 2>/dev/null*

+1378188 1296 -rw-r----- 1 oracle oinstall 1319436 Jun 22 2005 /u01/app/oracle/product/10.2.0/db_1/lib/libsqlplus.a+
+1378193 1028 -rw-r----- 1 oracle oinstall 1047293 Jun 22 2005 /u01/app/oracle/product/10.2.0/db_1/lib/libsqlplus.so+

SQLPLUS LOCATION with associated group

+$ ls -l $ORACLE_HOME+
drwxr-x--- 9 oracle oinstall 4096 Dec 24 03:28 sqlplus

Please Note :

USER 'a' belongs oinstall group.
USER 'b' belongs dba group.

My questions are :

*1.why OS user can access database with oinstall group ?*
*2.why OS user can't access database with dba group ?*

Note: This is concept of oracle

**To connect as sysdba using OS Authe*ntication ; UNIX OS user must be a part of OSDBA (dba) group.*
Once the user is part of OSDBA group.


but in dba group with os user 'b' , can't connect sqlplus , what's the real problem here ?

version : 10gr2
*$ uname -a*
Linux testorcl 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 14:02:40 PDT 2006 i686 athlon i386 GNU/Linux

Edited by: 952909 on Jan 4, 2013 1:03 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2013
Added on Jan 4 2013
7 comments
2,211 views