From owner-freebsd-current@FreeBSD.ORG Tue Jan 22 17:59:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91302D1B for ; Tue, 22 Jan 2013 17:59:43 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1FCEF976 for ; Tue, 22 Jan 2013 17:59:41 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.6/8.14.6) with ESMTP id r0MHxXFH042768; Tue, 22 Jan 2013 21:59:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.6/8.14.6/Submit) id r0MHxXDa042767; Tue, 22 Jan 2013 21:59:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 22 Jan 2013 21:59:33 +0400 From: Gleb Smirnoff To: Olivier Cochard-Labb? Subject: Re: Adding more tools to be used by operator group members Message-ID: <20130122175933.GD41700@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 17:59:43 -0000 On Tue, Jan 22, 2013 at 02:03:12PM +0100, Olivier Cochard-Labb? wrote: O> There are only 2 useable tools by "operator" group members: O> shutdown (and its child: poweroff, halt, etc?) and mksnap_ffs. O> O> On my HAL-less laptop, I've put my user in the operator group that let O> me reboot/power-off it with shutdown. O> But I would to be able to suspend-resume it too (with zzz). O> O> Here is what I've did: O> for f in "/usr/sbin/acpiconf /usr/sbin/apm"; do O> chown :operator $f O> chmod 4550 $f O> done O> O> What about configuring this permission by default on FreeBSD ? O> And why /sbin/reboot isn't useable by operator too ? O> Are there somes security issue ? +1 here. I was always annoyed and surprised by this fact. -- Totus tuus, Glebius.