From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2a508abc07667a69,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-04 00:23:16 PST Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!news.larc.nasa.gov!eos1.larc.nasa.gov!eckman From: eckman@eos1.larc.nasa.gov (Richard Eckman) Newsgroups: comp.unix.osf.osf1 Subject: non-superuser mounts under OSF/1 Date: 3 Sep 1993 20:33:26 GMT Organization: NASA Langley Research Center, Hampton, VA Message-ID: <2689mmINNi9c@rave.larc.nasa.gov> NNTP-Posting-Host: eos1.larc.nasa.gov I just attached our Sony eraseable-optical drive to a DEC 3000/400 workstation running OSF/1 v1.3. The drive behaves properly (unlike when the machine was running v1.2), but I find that the OSF/1 mount command is rather different than under ultrix. I would like regular users (non-superuser) to be able to mount their own optical drive platters. This was possible under ultrix as long as you set the protections properly on the /dev/*rz* files relevant to the optical drive. Looking at the man page for OSF/1, it states that to mount a UFS filesystem you must be superuser. The only way that I've found for mount (and umount) to work for a regular user is to set the setuid and setgid bits on the /usr/sbin/mount (or umount) command and change ownership of the command to root. This strikes me as about as unsecure as possible as any user can mount and umount any filesystem. Is there a better, more secure solution to the problem? Thanks for any assistance. Richard Eckman NASA Langley eckman@eos1.larc.nasa.gov