home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3565 / README next >
Encoding:
Text File  |  1991-07-03  |  779 b   |  30 lines

  1.  
  2.  Secure Mounting
  3.  ---------------
  4.  
  5.  To use this package, you must:
  6.  
  7.     - edit wrapper.c, modifying PERLCODE appropriately
  8.     - compile wrapper.c, copy it to a common area (like /usr/local/bin),
  9.       with the names `smount' and `unmount' & make it set-uid to root
  10.       (e.g.:
  11.             cc -O wrapper.c -o smount
  12.             cp smount /usr/local/bin
  13.             cd /usr/local/bin
  14.             ln smount unmount
  15.             strip smount
  16.             chown root smount
  17.             chmod u+s smount
  18.  
  19.        both smount & unmount will be set-uid root)
  20.  
  21.     - copy smount.pl to wherever you decided with PERLCODE in wrapper.c
  22.     - edit smount.pl, changing the legal array to be whatever dirs
  23.       you wish to allow people to mount & unmount at will
  24.  
  25.  To be added:
  26.  
  27.     - logging of mounting/unmounting
  28.  
  29.  If you have any questions, etc, write to brendan@cs.widener.edu.
  30.