Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site callan.UUCP Path: utzoo!linus!philabs!mcnc!decvax!harpo!seismo!hao!hplabs!intelca!proper!callan!tim From: tim@callan.UUCP (Tim Smith) Newsgroups: net.unix-wizards Subject: Re: magic numbers and setuid shell scripts Message-ID: <136@callan.UUCP> Date: Fri, 30-Mar-84 18:28:18 EST Article-I.D.: callan.136 Posted: Fri Mar 30 18:28:18 1984 Date-Received: Fri, 6-Apr-84 00:41:28 EST Organization: Callan Data Systems, Westlake Village, CA Lines: 13 #!/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