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