Re: Disabling Shell Out in forms
Posted in 1996
Topics: Security, Permissions & Auditing
Jason Dormor wrote: > > Does anyone know if it is possible to disable "!" command in form > so it is impossible to run system commands ?? Not directly, but you can try setting the SHELL environment variable to a shell script that asks for a password before running a shell. If that doesn't work, you can re-organise the PATH variable for those users and rename your shell as sh, ksh, or whatever and just make sure it is further up their PATH than the UNIX shell. Hope that helps, -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+