home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / sys / sun / 3584 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.6 KB

  1. Xref: sparky alt.sys.sun:3584 comp.sys.sun.misc:6458
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!howland.reston.ans.net!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!hirt
  3. From: hirt@itsnova.mach.uni-karlsruhe.de (Markus Hirt)
  4. Newsgroups: alt.sys.sun,comp.sys.sun.misc
  5. Subject: Re: Can "normal" users mount under Solaris 2.X
  6. Date: 23 Jan 93 21:02:26
  7. Organization: /home1/itsnova/hirt/.organization
  8. Lines: 27
  9. Message-ID: <HIRT.93Jan23210226@itsnova.mach.uni-karlsruhe.de>
  10. References: <C15usz.L0t@intcorp.mn.org>
  11. NNTP-Posting-Host: itsnova.mach.uni-karlsruhe.de
  12. In-reply-to: jdf@intcorp.mn.org's message of Wed, 20 Jan 1993 16:22:11 GMT
  13.  
  14. In article <C15usz.L0t@intcorp.mn.org> jdf@intcorp.mn.org (Joel D. Flatt) writes:
  15.  
  16. >   Under SunOS 4.X I was able to allow non-root users to mount and umount
  17. >   filesystems by having them execute the [u]mount command in a shell 
  18. >   script where the owner of the script is root and the setuid bit is set.
  19. >   This does not appear to work for Solaris 2.1.  
  20.  
  21. It is generally 'unsecure' to have shellscripts setuid root. So it might be
  22. possible that setuid for scripts was disabled in Solaris. You may try
  23. to write a little C program doing the same as your shellscript and
  24. setuid the executables of this one.
  25.  
  26. Markus
  27.  
  28.  
  29.  
  30.  
  31. --
  32. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  33. + Markus Hirt                 + hirt@itsnova.mach.uni-karlsruhe.de +
  34. + Institute for Thermal Turbomachinery     +                                    +
  35. + University of Karlsruhe, Germany     +                                    +
  36. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  37.  
  38.  
  39.  
  40.  
  41.