From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4e2d0f1754c6fc2 X-Google-Attributes: gidfee84,public From: Helmut Michels Subject: Re: Allowing users to mount CD-ROMS Date: 1997/02/20 Message-ID: <5eh6s4$7r0@gwdu19.gwdg.de>#1/1 X-Deja-AN: 220111877 References: <5efetq$psf$1@trog.dra.hmg.gb> To: almclean@dra.hmg.gb Content-Type: text/plain; charset=us-ascii Organization: GWDG, Goettingen X-URL: news:5efetq$psf$1@trog.dra.hmg.gb Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 X-Mailer: Mozilla 1.1N (X11; I; OSF1 V3.0 alpha) 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