home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / hp / 14390 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.1 KB

  1. Xref: sparky comp.sys.hp:14390 comp.unix.admin:6816
  2. Newsgroups: comp.sys.hp,comp.unix.admin
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!ncar!csn!iem!andrew
  4. From: andrew@iem.com (Andrew Patterson)
  5. Subject: Re: non-root mount
  6. Message-ID: <BzzKo8.Cq0@iem.com>
  7. Date: Mon, 28 Dec 1992 20:24:07 GMT
  8. References: <BzCsyy.KBx@rivm.nl>
  9. Organization: IEM, Inc.
  10. X-Newsreader: Tin 1.1 PL4
  11. Lines: 30
  12.  
  13. derko@rivm.nl (derko drukker z-09) writes:
  14. : Hello,
  15. : Does anyone know how to have non-root users use the mount command
  16. : as more and more users have their own cd-rom connected to their
  17. : workstation ?
  18. : Derko Drukker
  19. : E-mail: derko@rivm.nl
  20.  
  21.  
  22. Try settind suid to root on /etc/mount and /etc/umount.  Note that 
  23. this can be very dangerous as users can then dismount all discs.  You
  24. might write a shell wrapper around these programs which will provide
  25. specific security checks.
  26.  
  27. To suid to root on these programs, execute the following commands
  28.  
  29.  
  30.    Log in as root
  31.    # chmod 4555 /etc/mount /etc/umount
  32.    # chown root /etc/mount /etc/umount
  33.  
  34.  
  35.  
  36. -- 
  37.  
  38.  
  39.  
  40. Regards,
  41.