Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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'
PHP Code:
# useradd -m -g oinstall a
# passwd a
Changing password for user a.
New UNIX password:
BAD PASSWORD: it's 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' :
PHP Code:
# useradd -m -g dba b
# passwd b
Changing password for user b.
New UNIX password:
BAD PASSWORD: it's WAY too short
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
Actually, that would be the LD_LIBRARY_PATH https://kamranagayev.files.wordpress..._install22.jpg.
You're still going to have perm problems, as according to you (OP), only the oracle user or members of the oinstall group can run that code anyway....
Check the Oracle docs; you may need to add user b to multiple groups; oinstall and dba.
You are right. As Oracle user i don't have any problem. test DB works well.
I tried to set OS authentication for limited OS users ( sam=a , sona=b)
I was testing with user a and user b ..
Quote:
As per doc : If User belongs dba group , they can connect with sqlplus ..
I have knowledge about permission settings. What's the problem here
So that i am asking .Kindly help me resolve this.
Last edited by thiyagusham; 01-03-2013 at 05:49 PM.
$ locate changePerm.sh warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory warning: You need to run the 'updatedb' command (as root) to create the database. Please have a look at /etc/updatedb.conf to enable the daily cron job.
$ cd sqlplus
[oracle@testorcl sqlplus]$ pwd
/u01/app/oracle/product/10.2.0/db_1/sqlplus
>> I tried to change permission regarding above mentioned error >>
Quote:
[oracle@testorcl install]$ ./changePerm.sh
-bash: ./changePerm.sh: No such file or directory
[oracle@testorcl install]$ cd
[oracle@testorcl ~]$ whereis changePerm.sh
changePerm:
[oracle@testorcl ~]$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.