LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-22-2012, 02:43 PM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
orainstRoot.sh and root.Sh


Hi to all

I have some doubts regarding root.sh , orainstRoot.sh

orainstRoot.sh
  1. Script should be run as root user*
  2. orainstRoot.sh which is located in $ORACLE_BASE
  3. Script creates the inventory pointer file (/etc/oraInst.loc),*
  4. Changing group name of the oraInventory directory to oinstall group i.e.
  5. changing the Permissions and groupname to 770 and to oinstall.

am i right ????

770 i having little much confusion with 770.

1.can anyone say from 0 to 7

2. Root.sh scripts sets Environment variables

Quote:
"copying of few files into /usr/local/bin , the files are dbhome,oraenv,coraenv etc."
3.May i know purpose of copying same files into /usr/local/bin from where and what for ??


Thanks and Regards
Thiyagusham.G

Last edited by thiyagusham; 05-22-2012 at 02:45 PM.
 
Old 05-22-2012, 05:22 PM   #2
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
If you are installing oracle last I checked those were files that copied some pieces to other locations, and also set permissions and security on oracle related binaries. Unless you want to do all that by hand I would suggest using their canned scripts.
 
Old 05-22-2012, 06:00 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,398

Rep: Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780
What he said ... ^

If you want to know what they do in detail, read them, they're just text files.
You could also actually ask Oracle.

If you want to know about permissions http://linux.die.net/man/1/chmod
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i write to a root:root 750 file with a non-root user? Droa Linux - Newbie 1 05-14-2012 07:49 PM
[SOLVED] how can i remount root filesystem as read/write after modify readonly-root file jcwkyl Linux - Newbie 3 12-21-2010 10:40 PM
How can I have a script owned as root and run as root by a user: setuid? stickey bit? abefroman Linux - Newbie 9 04-19-2008 05:15 PM
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 08:36 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration