home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume22
/
smount1.1
/
part01
/
README
next >
Wrap
Text File
|
1991-08-28
|
969b
|
33 lines
Secure Mounting v1.1 - 08/26/91
-------------------------------
This program will allow normal users to mount and unmount certain filesystems
or devices (e.g. a CD-Rom). A security hole was fixed from the last version.
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.