home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20406 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aurora.cc.monash.edu.au!andrewc
  3. From: andrewc@aurora.cc.monash.edu.au (Andrew J. Cosgriff !)
  4. Subject: Re: How do I provide the floppys to normal users????
  5. Message-ID: <andrewc.724369870@aurora.cc.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Monash University, Melb., Australia.
  8. References: <1992Dec14.160121.10722@wega.rz.uni-ulm.de>
  9. Date: Mon, 14 Dec 1992 21:51:10 GMT
  10. Lines: 30
  11.  
  12. S_ESPENLAUB@rzmain.rz.uni-ulm.de (Klaus Espenlaub) writes:
  13.  
  14. >Is there any possibility to give normal users the right to mount
  15. >floppy drives???? I've been trying it with different success (it works only
  16. >when floppys already in at boot time........)
  17.  
  18. >May anybody help me???????
  19.  
  20. Well, it depends...If you don't mind the security risk you could just make
  21. mount and umount setuid root, although this is NOT a Good Thing (tm) if
  22. you've got dial-in access...
  23. (Or DOS partitions you don't want them to mount)
  24.  
  25. So, take your chances if you like, but I don't recommend it...
  26. i guess you could make a setuid root script that checked what tty they're on
  27. and what they're mounting, so they can only mount floppies and only when
  28. they're at the console...
  29.  
  30. Perhaps I'll give this idea a go - I must admit it's a hassle having to su
  31. all the time to mount disks...
  32.  
  33.  
  34. Enjoy !
  35.  
  36. Cos !
  37. -- 
  38. -------------------------------------------------------------------------------
  39.  * Andrew J. Cosgriff ! *                   #include <std_witty_quote.h>
  40. #define HERE cc.monash.edu.au               #include <std_disclaimer.h>
  41. Hassle me at :      andrewc@aurora.HERE ; andrewc@lindblat.HERE ; cos@yoyo.HERE
  42.