home *** CD-ROM | disk | FTP | other *** search
/ ftp.mayn.de / ftp.mayn.de-pub.zip / ftp.mayn.de-pub / apple / apple_unix / Security / README.sh < prev    next >
Text File  |  2017-03-06  |  692b  |  22 lines

  1. This is a "fixed" version of /bin/sh, which adds extra security by resetting
  2. IFS before a script is executed. This closes a few holes with SUID programs
  3. that use 'system()' or 'open()' to execute commands.
  4.  
  5. To install:
  6.  
  7.     o Make a copy of your current Bourne shell:
  8.     $ cp /bin/sh /bin/Osh
  9.     
  10.     o Now copy this version to '/bin/sh':
  11.     $ cp sh /bin/sh
  12.  
  13. A very special thanks to John Coolidge, et. al, at Apple for providing this
  14. special fix so quickly!!!
  15.  
  16. --
  17. #include <std/disclaimer.h>
  18.     Jim Jagielski               |
  19.     jim@jagubox.gsfc.nasa.gov   |  "Dead or alive, you're coming with me."
  20.     NASA/GSFC, Code 734.4       |                  RoboCop
  21.     Greenbelt, MD 20771         |
  22.