home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / misc / 6502 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.8 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!emory!swrinde!zaphod.mps.ohio-state.edu!rphroy!albert!rhaar
  2. From: rhaar@albert.cs.gmr.com (Bob Haar)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: Can "normal" users mount under Solaris
  5. Message-ID: <96946@rphroy.ph.gmr.com>
  6. Date: 25 Jan 93 22:19:39 GMT
  7. References: <1993Jan25.170700.1@sdl.ug.eds.com>
  8. Sender: news@rphroy.ph.gmr.com
  9. Reply-To: rhaar@albert.cs.gmr.com
  10. Organization: G.M. Research Laboratories
  11. Lines: 35
  12. Nntp-Posting-Host: albert.cs.gmr.com
  13.  
  14. In article 1@sdl.ug.eds.com, lorena@sdl.ug.eds.com writes:
  15. |>In article <HIRT.93Jan23210226@itsnova.mach.uni-karlsruhe.de>, hirt@itsnova.mach.uni-karlsruhe.de (Markus Hirt) writes:
  16. |>> In article <C15usz.L0t@intcorp.mn.org> jdf@intcorp.mn.org (Joel D. Flatt) writes:
  17. |>> 
  18. |>>>   Under SunOS 4.X I was able to allow non-root users to mount and umount
  19. |>>>   filesystems by having them execute the [u]mount command in a shell 
  20. |>>>   script where the owner of the script is root and the setuid bit is set.
  21. |>>>   This does not appear to work for Solaris 2.1.  
  22. |>> 
  23. |>> It is generally 'unsecure' to have shellscripts setuid root. So it might be
  24. |>> possible that setuid for scripts was disabled in Solaris. You may try
  25. |>> to write a little C program doing the same as your shellscript and
  26. |>> setuid the executables of this one.
  27. |>> 
  28. |>> Markus
  29. |>> 
  30. |>
  31. |>don't suppose you'd like to write it for me?!
  32. |>
  33.  
  34. Why re-invent the wheel?
  35.  
  36. There is a package called mntdisk that was distributed on
  37. the net some time ago that provides utilities to mount/unmount
  38. floppies, cd's, optical disks, etc. All compiled C code.
  39.  
  40. Use archie to find an ftp site.
  41.  
  42. ---
  43.       Robert Haar               InterNet : rhaar@gmr.com 
  44.     Computer Science Dept., G.M. Research Laboratories
  45. DISCLAIMER: Unless indicated otherwise, everything in this note is
  46. personal opinion, not an official statement of General Motors Corp.
  47.  
  48.  
  49.