home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sources / wanted / 5118 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  2.2 KB

  1. Xref: sparky comp.sources.wanted:5118 comp.unix.questions:13724 comp.unix.misc:4281
  2. Path: sparky!uunet!virgin!unhtel!mozz.unh.edu!nymph.msel.unh.edu!sch
  3. From: sch@nymph.msel.unh.edu (Shane Hutchins aka Xenos)
  4. Newsgroups: comp.sources.wanted,comp.unix.questions,comp.unix.misc
  5. Subject: Re: Floppy drive on a sparcstation...Thanks for your help
  6. Date: 21 Nov 1992 05:20:44 GMT
  7. Organization: UNH Marine Systems Engineering Lab/Computer Science
  8. Lines: 39
  9. Message-ID: <1ekgvcINN7ii@mozz.unh.edu>
  10. NNTP-Posting-Host: nymph.msel.unh.edu
  11.  
  12. I a few days ago I posted:
  13. >I'd like allow users to transfer files from the floppy drive on our
  14. >Sun4 SPARCstation IPCs to their account.         (/dev/fd0)
  15. >Unfortunately, it requires root permissions to mount the thing.
  16. >Is there some freeware out there that will allow a user to mount /pcfs
  17. >and eject (ie use the damn floppy drive) without root access.
  18.  
  19. I'd like to thank all those that helped me in my search...
  20.   (all 25+ that sent me mail, and the few that posted)
  21.  
  22. I found 3 possible solutions: (I'm sure there are more)
  23. * use tar: tar cvf /dev/fd0 files  (see the man page) 
  24. * use sudo, with a program that contains: a system("/usr/etc/mount /pcfs");
  25.   or any other program that sets setuid to root...
  26.   I think a shell script would be considered bad security!!
  27. * or use mtools
  28.  
  29. I decided to add Sudo AND Mtools 7.0.2. sept 92.
  30.  
  31. o Sudo allows a permitted user to execute a command as root.
  32.   Sudo determines who is an authorized user by consulting a file.
  33.   This program is described in "Unix System Admin. Handbook".
  34.   I found this was the best program to allow certain users to mount /pcfs,
  35.   the cdrom, and other selected tasks.
  36.  
  37. o I also added the mtools package.  This is really a great package.
  38.   Mtools is a public domain collection of programs to allow Unix systems
  39.   to read, write, and manipulate files on an MSDOS filesystem (typically a
  40.   diskette).  Each program attempts to emulate the MSDOS equivalent
  41.   command as closely as practical.
  42.   Mtools doesn't mount the disk as a filesystem so there is no security risk!
  43.  
  44.   Use the "archie" program to hunt down the sources near you.
  45.   sudo and mtools are avail from ftp.uu.net (I think?).
  46.  
  47. Thanks again...
  48. -- 
  49.   -Shane C Hutchins
  50.      sch@unh.edu
  51.