Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Helmut Michels <michels>
To: almclean@dra.hmg.gb
Subject: Re: Allowing users to mount CD-ROMS
Date: 1997/02/20	[thread overview]
Message-ID: <5eh6s4$7r0@gwdu19.gwdg.de> (raw)
In-Reply-To: 5efetq$psf$1@trog.dra.hmg.gb


Hello Andrew,

  I have solved this problem by writing a little C program. This program
runs with Set-user-ID permission (chmod u+s) and executes the mount
command via the C function 'system'.

ie:   isyst = system ("mount -r -t cdfs -o noversion /dev/rz5c /cdrom");

There is also a second program for unmounting the cd-rom.

Regards,
-------------------
  Helmut Michels
  Max-Planck-Institut fuer Aeronomie  Phone: +49 5556 979-334
  Postfach 20                         Fax  : +49 5556 979-240
  D-37189 Katlenburg-Lindau           Mail : michels@linax1.mpae.gwdg.de
  DISLIN Home Page:  http://www.mpae.gwdg.de/dislin/dislin.html




  reply	other threads:[~1997-02-20  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-18  5:00 Allowing users to mount CD-ROMS Andrew McLean
1997-02-20  5:00 ` Helmut Michels [this message]
1997-02-21  5:00   ` Paul B. Henson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox