Operating System - HP-UX
1825811 Members
2595 Online
109688 Solutions
New Discussion

Re: grant Admin role to Oracle user

 
SOLVED
Go to solution
Grayh
Trusted Contributor

grant Admin role to Oracle user

How can I grant the Admin role to the oracle login so to eliminate the need for root pas...
20 REPLIES 20
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

Is the below role correct

# roleadm assign oracle Administrator
roleadm assign done in /etc/rbac/user_role
# roleadm list
root:Administrator
oracle:Administrator


SKR_1
Trusted Contributor
Solution

Re: grant Admin role to Oracle user

Add oracle in root group

Thanks

SKR
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

How to add oracle in root group
SKR_1
Trusted Contributor

Re: grant Admin role to Oracle user

Correct

Thanks

SKR
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

how does the user execute the shell scripts in the installation process of oracle
SKR_1
Trusted Contributor

Re: grant Admin role to Oracle user

Go to SAM

Accounts for users and group

select user and go to option tab, select modify secondary group. And then add this user to root group.

Thanks

SKR
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

SMH->Accounts for Users and Groups
-----------------------------------------------------------
l - Local Users: View or Configure Local Users

g - Groups: View or Configure Groups

t - Templates: View or Configure User Templates

I do not get an option to modify the user secondary group
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user


# usermod -G root oracle
Login oracle is currently in use
V. Nyga
Honored Contributor

Re: grant Admin role to Oracle user

Login as root and execute the command again
*** Say 'Thanks' with Kudos ***
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

SMH->Accounts for Users and Groups->Groups
--------------------------------------------------------------------------------
Group Name Group ID Users with this Group as Secondary Group
================================================================================
root 0 root, oracle***
other 1 root, hpdb
dba 105

I have added oracle to the group root.

Still user gets the same error

$ ./runInstaller

iteprte "/bin/h" notfound

sh: ./runInstaller: not found.

$


Asif Sharif
Honored Contributor

Re: grant Admin role to Oracle user

Hi Grayh,

The best way is to use "sudo".

Regards,
Asif Sharif
Regards,
Asif Sharif
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

I already have sudo but i get errors like this

# /usr/local/bin/sudo
sudo: /usr/local/etc/sudoers is zero length
# Sep 26 11:03:36 iuxclient1 sudo: root : /usr/local/etc/sudoers is zero len
gth ; TTY=pts/ta ; PWD=/opt ; USER=root ; COMMAND=/sbin/sh

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1272698
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

$ sh ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be B.11.23. Actual B.11.31
Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/Or
aInstall2008-09-26_12-46-02PM/installActions2008-09-26_12-46-02PM.log
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

# sh ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be B.11.23. Actual B.11.31
Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/Or
aInstall2008-09-26_12-47-27PM/installActions2008-09-26_12-47-27PM.log
Asif Sharif
Honored Contributor

Re: grant Admin role to Oracle user

Hi Grayh,

There are different versions for HP-UX Pa-Risc and HP-UX Itanium.

are you using correct versions?

Regards,
Asif Sharif
Regards,
Asif Sharif
Oviwan
Honored Contributor

Re: grant Admin role to Oracle user

what is you hpux version?

run installer as oracle with ignore system pre requirement parameter:
./runInstaller -ignoreSysPreReqs
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

Yes I am using the correct version... But the issue is As a root also I am unable to install the script
Oviwan
Honored Contributor

Re: grant Admin role to Oracle user

read the installation guide, this sould answer all your question:
http://download.oracle.com/docs/cd/B19306_01/install.102/b25293/toc.htm
James R. Ferguson
Acclaimed Contributor

Re: grant Admin role to Oracle user

Hi:

> $ ./runInstaller

interpreter "/bin/h" notfound

...means that the script's she-bang (first) line is mangled. It needs to look like:

#!/usr/bin/sh

...or:

#!/bin/sh

> But the issue is As a root also I am unable to install the script

I see the error you posted, namely:

Checking installer requirements...

Checking operating system version: must be B.11.23. Actual B.11.31
Failed <<<<

Is this the most recent, correct version of the Oracle Installer given that the Oracle version is appropriate for your server?

Regards!

...JRF...
Grayh
Trusted Contributor

Re: grant Admin role to Oracle user

thank you