home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:14390 comp.unix.admin:6816
- Newsgroups: comp.sys.hp,comp.unix.admin
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!ncar!csn!iem!andrew
- From: andrew@iem.com (Andrew Patterson)
- Subject: Re: non-root mount
- Message-ID: <BzzKo8.Cq0@iem.com>
- Date: Mon, 28 Dec 1992 20:24:07 GMT
- References: <BzCsyy.KBx@rivm.nl>
- Organization: IEM, Inc.
- X-Newsreader: Tin 1.1 PL4
- Lines: 30
-
- derko@rivm.nl (derko drukker z-09) writes:
- : Hello,
- :
- : Does anyone know how to have non-root users use the mount command
- : as more and more users have their own cd-rom connected to their
- : workstation ?
- :
- : Derko Drukker
- : E-mail: derko@rivm.nl
-
-
- Try settind suid to root on /etc/mount and /etc/umount. Note that
- this can be very dangerous as users can then dismount all discs. You
- might write a shell wrapper around these programs which will provide
- specific security checks.
-
- To suid to root on these programs, execute the following commands
-
-
- Log in as root
- # chmod 4555 /etc/mount /etc/umount
- # chown root /etc/mount /etc/umount
-
-
-
- --
-
-
-
- Regards,
-