Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: If we change the root shell to csh on Solaris, is this likely to be supported by Oracle?

Re: If we change the root shell to csh on Solaris, is this likely to be supported by Oracle?

From: NorwoodThree <norwoodthree_at_my-deja.com>
Date: 2 Oct 2003 09:18:11 -0700
Message-ID: <ba03e2c.0310020818.6e056f1f@posting.google.com>


It likely does not matter, however, in the world of best practice and standards:

  1. Keep the root default shell of sh.
  2. If you are root, and want to run csh, type 'csh' when you login.
  3. Set the default shell of the UNIX Oracle user to 'ksh'.
  4. In your scripts, you can implicitly tell the system what shell to use by using the following convention in the first line of your script:

#![path][shell]

Example, for your script to execute using the ksh shell:

#!/usr/bin/ksh

This should avoid you having to mess with the root account. Again, it doesnt matter, but if you are asking questions like this it is best to not mess around w/ root. Received on Thu Oct 02 2003 - 11:18:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US