From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 11:30:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E4BC106567A for ; Wed, 9 Jul 2008 11:30:14 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from llca513-a.servidoresdns.net (llca513-a.servidoresdns.net [217.76.128.120]) by mx1.freebsd.org (Postfix) with ESMTP id C30C78FC32 for ; Wed, 9 Jul 2008 11:30:13 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from mail.dsa.es (localhost.localdomain [127.0.0.1]) by llca513-a.servidoresdns.net (Postfix) with ESMTP id D969E110413B for ; Wed, 9 Jul 2008 13:29:22 +0200 (CEST) Received: from 217.114.136.134 (SquirrelMail authenticated user faf352c) by mail.dsa.es with HTTP; Wed, 9 Jul 2008 11:29:22 -0000 (GMT) Message-ID: <17233.217.114.136.134.1215602962.squirrel@mail.dsa.es> Date: Wed, 9 Jul 2008 11:29:22 -0000 (GMT) From: "DSA - JCR" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: (un)mounting usb disk as non root user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 11:30:14 -0000 Hi all FreeBSD 6.2 I have made a copy system with USB disk and GELI for crypto. Now, I would like that one non root user can login run a shell form unmount the disk and change it, and then mount the new usb disk. I have the shell script done, but only works if it runs under root. When I tried to run under the user, I get unmount /mnt/usb1 - Operation not permited My user is in the group operator, but what more can I do? I want to let them a script that in the login moment they can safely change the usb disks. Thanks in advance Juan Coruņa Desarrollo de Software Atlantico