Re: KSH setuid script doesn't work?
Posted in 1996
Ward Kaatz — — source: Informix-list mailing list archive (1991-1998)
At 10:29 PM 1/17/96 GMT, Robert Hartman wrote: >Do you have a #!/bin/ksh(or whatever your favorite shell is) as the first line? >If you do then that will cause the shell to spawn another shell to actually run >the shell script. To prevent this from happening you can take out the >#!/bin/ksh, to prevent the script from spawning a new shell you can 'dot' it... . myscript.ksh -ward ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Ward Kaatz wardk@fourgen.com FourGen Software Technologies 800.444.3398