From owner-freebsd-questions Sun Jan 3 14:55:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18272 for freebsd-questions-outgoing; Sun, 3 Jan 1999 14:55:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from out5.ibm.net (out5.ibm.net [165.87.194.243]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA18267 for ; Sun, 3 Jan 1999 14:55:16 -0800 (PST) (envelope-from mikegoe@ibm.net) Received: from Nikki (slip129-37-208-94.oh.us.ibm.net [129.37.208.94]) by out5.ibm.net (8.8.5/8.6.9) with SMTP id WAA69450 for ; Sun, 3 Jan 1999 22:54:49 GMT Message-Id: <199901032254.WAA69450@out5.ibm.net> From: "Michael G." To: "freebsd-questions@freebsd.org" Date: Sun, 03 Jan 1999 17:46:52 -0500 Reply-To: "Michael G." X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.1998) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: User to mount device? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This was a great idea and works perfectly..thanks! Michael G. On Sun, 3 Jan 1999 0 brian@worldcontrol.com wrote: >How about creating a mount binary which is setuid to root and >only executable by root and people in a certain group. > >edit /etc/group and add users allowed to run the user_mount command >mount:*:98:user1,user2,user3 > >cp /sbin/mount /sbin/user_mount > >chown root:mount /sbin/user_mount >chmod 4750 /sbin/user_mount (you might try 4710) ------------------------------------------------------------ ---------------------- ICQ #24517082 Live FreeBSD...Or Die! PIC X 10 VALUE "YES COBOL" ------------------------------------------------------------ --------------------- ---------------------------------------------------------------------------------- ICQ #24517082 Live FreeBSD...Or Die! PIC X 10 VALUE "YES! COBOL" --------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message