Re: how to prevent bang (!) escapes
Posted in 1996
Joe Lumbley — — source: Informix-list mailing list archive (1991-1998)
jmumford@clark.net wrote:
: Does anyone know of a way to prevent users
: from using the bang (!) character to do shell
: escapes from Informix tools? Or unix workarounds
: to this problem?
: Thanx
: Jim Mumford
SHELL=/dev/null;
export $SHELL;
dbaccess.............
another alternative is to create a file rdbaccess:
$cat rdbaccess
SHELL=/dev/null
dbaccess
This will not screw up your shell variable like the "export" method. The
/dev/null shell will only be in effect while running rdbaccess.
Joe
--
---------------------------------------------------------------------------
Joe Lumbley(jlumbley@netcom.com)
---------------------------------------------------------------------------