Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run as Root

Status
Not open for further replies.

kozlow

MIS
Mar 3, 2003
326
US
Any suggestions on how to get root access to run the install and upgrade scripts without running as root?
 
Hi,
As far as I know, root is root - I have seen no systems that have any other method.

( Why not run as root - unless, of course, you do not have access to the root account for some reason)




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
"How can I unlock the bank vault without the combination?"

Banker: "Why, I'm sorry, sir. We don't allow that."
<grin>

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
“Beware of those that seek to protect you from harm or risk. The cost will be your freedoms and your liberty.”
 
Simple... Auditors do not allow root access to Application users including DBA's....
 
Perhaps ask the system admin to allow you access to certain commands (root.sh perhaps?) via sudo?

I want to be good, is that not enough?
 
Problem is with the install/upgrade scripts supplied by oracle... Have to go line by line through each and add the sudo...
 
Couldn't your sys admin just run the script(s) - that's what he/she is there for surely?

I want to be good, is that not enough?
 
I guess we are getting away from the original question.. and you have no mercy on your co-workers... We do upgrades during Maint windows, which are the first Sunday of each Month and we start at 2AM... Everytime we do an upgrade to Oracle, we would require a DBA and SysAdmin in for each Oracle server... They are pulled away from there maint... Does not make any sense to me... But you must work in a large shop where this is not a problem... Anyway, it sounds like you can not get there from here...

Thanks for the help...

By the way, my bank hold my money but does not give me the combination to thier safe...
 
'co-workers' - exactly the point. Why should you shoulder responsibilities that aren't officially yours?

Anyway, that's enough for now, have a good weekend!

I want to be good, is that not enough?
 
I really think you are exaggerating the difficulties of using the sudo command. Typically the only thing in an installation or upgrade that requires root privileges is running the root.sh script. It's easy enough to set up the /etc/sudoers file in advance to give you permission to run this yourself.

At least you should give it a try before throwing in the towel and saying it won't work. That's what the sudo command is for.
 
I'd pass the issue on to your sysadmins/DBAs with words to this effect:

"Either you come in at 2am on Sunday to do your bit, or you figure out an acceptable way for me to do it without you. Your choice."

At the end of the day, it's their call.

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top