From owner-freebsd-questions Mon Aug 26 7: 5:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A385837B400 for ; Mon, 26 Aug 2002 07:05:40 -0700 (PDT) Received: from mx7.mail.ru (mx7.mail.ru [194.67.57.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id A011E43E6A for ; Mon, 26 Aug 2002 07:05:39 -0700 (PDT) (envelope-from _pppp@mail.ru) Received: from [213.128.193.142] (helo=mail.ru) by mx7.mail.ru with esmtp (Exim SMTP.7) id 17jKUr-000Ife-00; Mon, 26 Aug 2002 18:05:37 +0400 Message-ID: <3D6A35AC.2030809@mail.ru> Date: Mon, 26 Aug 2002 18:05:32 +0400 From: dima <_pppp@mail.ru> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020816 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: John Bleichert Cc: Giant , questions@FreeBSD.ORG Subject: Re: Help References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>Why can't i mount cd or harddisk with user account? always prompt with some error msg that said only root that can do it. what should i do? > su(1) to root, mount the device, and then exit back to being a normal > user. it's not a good idea to add any user who wants to mount cds or floppies to the 'wheel' group. i, as a sysadmin, never allow that. i guess sudo can be a decision. a sysadmin can allow any user to run mount & umount on some devices (say, write a script which can mount ejectable media only & allow to run it to ordinary users) in sudoers file. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message