home *** CD-ROM | disk | FTP | other *** search
-
- Secure Mounting
- ---------------
-
- To use this package, you must:
-
- - edit wrapper.c, modifying PERLCODE appropriately
- - compile wrapper.c, copy it to a common area (like /usr/local/bin),
- with the names `smount' and `unmount' & make it set-uid to root
- (e.g.:
- cc -O wrapper.c -o smount
- cp smount /usr/local/bin
- cd /usr/local/bin
- ln smount unmount
- strip smount
- chown root smount
- chmod u+s smount
-
- both smount & unmount will be set-uid root)
-
- - copy smount.pl to wherever you decided with PERLCODE in wrapper.c
- - edit smount.pl, changing the legal array to be whatever dirs
- you wish to allow people to mount & unmount at will
-
- To be added:
-
- - logging of mounting/unmounting
-
- If you have any questions, etc, write to brendan@cs.widener.edu.
-