In article <29hl61INNhvc@emory.mathcs.emory.edu> PMWAGES@delphi.com writes:
> Is there any way to prevent users from shelling out ( banging out )
>of an informix menu with an exclamation point (!) ?
Yes, redefine their environment, set (example uses Bourne-Shell Syntax)
SHELL=/dev/null # for example
You can do that by
(1) modifying their .profile, if they would start with a normal shell and then
exec(2) the isql process
(2) or alternatively by writing a wrapper around the isql program, i.g.
the one-liner (well, one and a half)
#!/bin/sh
SHELL=/dev/null isql
Have fun (and be careful with job control!!! Good way of fooling a
security configuration, type ^Z and you have a shell, most people only
think of Interrupts, haha)
-svb.
--
Sebastian v. Bomhard, +49-89-298934, +49-89-296629 <svb@muc.de>
St.-Anna-Str. 13, D-80538 Muenchen (Lehel)
>>>>>>>>>>> The early bird catches the EARLY worm. <<<<<<<<<<<<