Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

oracle 10g script questions

Matthew McGee
Occasional Advisor

oracle 10g script questions

Why does have to set sticky bits for the nmo and nmb executables?


#Change owner and permissions of the remote operations executable
$CHOWN root $ORACLE_HOME/bin/nmo
$CHMOD 6750 $ORACLE_HOME/bin/nmo

#Change ownner and permissions of the program that does memory computations
$CHOWN root $ORACLE_HOME/bin/nmb
$CHMOD 6750 $ORACLE_HOME/bin/nmb

These examples set the root sticky bit for owner and group.

The script goes on to chmod on swapinfo and /dev/rdsk/*.

It then starts to set up OCR without an option to not set it up.

It also initializes Oracle cluster services. We do not want Oracle cluster services.

Has anyone else encountered this?


Steven E. Protter
Exalted Contributor

Re: oracle 10g script questions

These Oracle scripts are ugly and I've encournted these issues with Oracle over the years.

1) Oracle 10g requires fuser be usable by the installation user. This is a huge security problem and I have nightmares about my last job where I left and the onsite guy has fuser enabled for the ias10g user.

2) Suid is required to set up web servers and other products that need to establish socket connections on priviledged ports below 1024. That could explain whats going on with your setup.

The OCR thing is typical oracle. Every database server install I've done the past few years installs a web server for monitoring, stopping and starting the database. It runs once on install and then is forgotten, primarily because nobody cares and oracle doesn't bother to set up auto start on hp-ux systems, something they do routinely on Linux.

Steven E Protter
Owner of ISN Corporation
Matthew McGee
Occasional Advisor

Re: oracle 10g script questions

Can the setuid be skipped?
Devesh Pant_1
Esteemed Contributor

Re: oracle 10g script questions

Skipping setuid will result in issues down the road as Steve points out above. However Cluster part can be trimmed from the without any harm.

Jean-Luc Oudart
Honored Contributor

Re: oracle 10g script questions


BTW this is no sticky bit but suid and sgid

cf. thread

for explanation

fiat lux
Matthew McGee
Occasional Advisor

Re: oracle 10g script questions

Thanks for your replies.