From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ff0603d47490d69c,start X-Google-Attributes: gid1164f8,public From: lou@sun1.giac.montana.edu (lou) Subject: Can users mount/umount CDs in DEC Unix 3.2c? Date: 1996/02/26 Message-ID: #1/1 X-Deja-AN: 141258434 distribution: world organization: montana.edu newsgroups: comp.sys.dec We have a group of four AXP Model 250 workstations running Digital Unix v3.2c. Each workstation has a CD-ROM drive installed (came that way from the factory). Is there a way that a user (not root) can mount and unmount a CD? The reason we wanted CD's is to enable our users to access large geographic data sets which come in CD form. Right now, my reading of mount(1) is that "To use the mount and unmount commands, you must be root." I have tried: [1] as root, chown the mount command to the user. result: user cannot mount a cd. [2] run root-setuid script to do [1]. result: user cannot mount a cd. [3] chmod the cd device to 666. result: user cannot mount a cd. [4] as root, chown the cd device to the user. result: user cannot mount a cd. The last (untried) bletchery I will try, is to run a cron job as root (say, every 10 min) that will check for a 'mount-request' file in the /tmp directory, and, if it's there, perform a mount of the cd ... and likewise for an 'unmount-request'... This is awkward, at best. Is there something obvious I'm missing? e.g. "For security reasons, only root can mount CDs, so your users are SOL..." ??? Thanks, Lou. -- Louis Glassy (lou@giac1.oscs.montana.edu) There be three things which are too wonderful for me, yea, four which I know not: the way sendmail remappeth Ruleset 3; the way the IR of gcc worketh; the way of an IP packet on the net; and the way of a C programmer with pointers. (Prov 32.18)