*BSD News Article 97779


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.mathworks.com!fu-berlin.de!news-ber1.dfn.de!news-ham1.dfn.de!news-han1.dfn.de!news-koe1.dfn.de!news.rhrz.uni-bonn.de!news.chemietechnik.uni-dortmund.de!Uni-Dortmund.DE!vestein.arb-phys.uni-dortmund.de!not-for-mail
From: wb@arb-phys.uni-dortmund.de (Wilhelm B. Kloke)
Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc
Subject: User mount possible?
Date: 13 Jun 1997 11:00:39 +0200
Organization: Inst f Arbeitsphysiologie
Lines: 19
Message-ID: <5nr27n$ees@vestein.arb-phys.uni-dortmund.de>
NNTP-Posting-Host: gisli.arb-phys.uni-dortmund.de
Cache-Post-Path: gisli.arb-phys.uni-dortmund.de!unknown@vestein.arb-phys.uni-dortmund.de
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3568 comp.unix.bsd.freebsd.misc:42976

I ran into the following problem. I am serving diskless workstations
on FreeBSD (2.2, if that matters). I want the users of these
workstations to be able to mount their local disks, floppies and
CD-ROM, and use local swap space, if available. The man pages
mount(2) tell me, that the mount syscall needs superuser privilege.
But I don't want those users to be superusers.

The most clean solution I found out seems to write a suid wrapper
for the operations needed. Or is it possible to do this be setting
suitable group or user permissions on the device entry and the
mount point?

Does anybody have a suid script usable for my purpose already?

Thanx, wbk
-- 
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257 vormittags