[TUHS] Set-uid shell scripts

Alec Muffett alec.muffett at gmail.com
Mon Aug 5 02:48:44 AEST 2019

The cited filename is passed as argv[1]

If the filename is "-i" then the command is "/bin/sh -i"

This forces an interactive shell.

Hence the important of not invoking it as "./-i"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20190804/89f28300/attachment.html>

More information about the TUHS mailing list