[comp.unix.aix] Turning off shell escape from SMIT

ault@rachel.its.rpi.edu (Jim Ault) (03/07/91)

Is there any way to turn off the "shell escape" mechanism in SMIT?
We are planning to try to give a user the ability to do installs via
SMIT, but we don't want to allow (root) shell escapes.  Are there any
command options to SMIT that will do this?

Please reply directly to me via email.  Thanks.

brian@b80lab.austin.ibm.com (Brian Nelson) (03/08/91)

In article <B98-!1$@rpi.edu> ault@rachel.its.rpi.edu (Jim Ault) writes:
>
>Is there any way to turn off the "shell escape" mechanism in SMIT?

SMIT will look at the environment variable 'SHELL' to determine the 
users preferred shell.  Usually it is something like '/bin/csh'.  SMIT 
will start that program as the new shell (/bin/ksh is assumed if SHELL
is not set).  You can set SHELL to any executable you desire, and when 
the user tries to open a shell in SMIT, that executable will be run 
instead of the shell.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Nelson            IBM Advanced Workstation Division         Austin, Texas
IBM Internet: brian@b80lab.austin.ibm.com    IBM VNET:  BNELSON at AUSVM6
FootNet:      4D-24/803                      PhoneNet:  823-4164 (Tie 793-4164)