magic numbers and setuid shell scripts
Tim Smith
tim at callan.UUCP
Sat Mar 31 09:28:18 AEST 1984
#!/dev/person/you
Setuid Bourne shell scripts may protect themselves against
strange values of IFS by starting out with the line
IFS=
This will work even if IFS is set to something like `I' or `F'
because the shell does blank interpretation after it does
variable assignments and substitutions.
Tim Smith
{decvax,ucbvax}!ihnp4!sdcrdcf!trwrb!wlbr!callan!tim
More information about the Comp.unix.wizards
mailing list