home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume22 / smount1.1 / part01 / README next >
Text File  |  1991-08-28  |  969b  |  33 lines

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