From owner-freebsd-current@FreeBSD.ORG Tue Jan 22 13:11:27 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 AED1F1FB for ; Tue, 22 Jan 2013 13:11:27 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx1.freebsd.org (Postfix) with ESMTP id 762192BB for ; Tue, 22 Jan 2013 13:11:27 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id ff1so4247123vbb.1 for ; Tue, 22 Jan 2013 05:11:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type:content-transfer-encoding; bh=dh1krEnY6KGGLwaIIwjsD2r3z+0WOi3zTS8CHcwG1oU=; b=La9nqujdbILx694Ip9h40nnccm7TmuY3M+QnyNMrOcpdEPERTCIF3wHeNFP7CelHq5 HshBBviBS3+nC+fM8RmKDmslvb0KTojWm4DcZif9w3WbxxrVe06qotJzPpFJvFhJq+iN W0YXKKoYweowv5mj5YTZPYDF/4HGtxHnscLALvkMprSm0tFYr40d+HSAQqeYrnF5PTNm Dyo0pKfuWqZVo5c9LXRiwFYj2IUpjrKwKe7ftSY3YACxUBn7+tGW7sEpp38D6zd0+Wfw J+6KXzlG+r0+Dpj3E9VmTQjQl1ywzyvXNEungkRKgs4moOqippGPznJk8pe97m5uIYPB KAbA== X-Received: by 10.220.219.73 with SMTP id ht9mr13812050vcb.47.1358859812751; Tue, 22 Jan 2013 05:03:32 -0800 (PST) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.164.100 with HTTP; Tue, 22 Jan 2013 05:03:12 -0800 (PST) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Tue, 22 Jan 2013 14:03:12 +0100 X-Google-Sender-Auth: 5iS-j9du7s6uvqG5GCQtRekFlqY Message-ID: Subject: Adding more tools to be used by operator group members To: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 13:11:27 -0000 Hi all, There are only 2 useable tools by "operator" group members: shutdown (and its child: poweroff, halt, etc=85) and mksnap_ffs. On my HAL-less laptop, I've put my user in the operator group that let me reboot/power-off it with shutdown. But I would to be able to suspend-resume it too (with zzz). Here is what I've did: for f in "/usr/sbin/acpiconf /usr/sbin/apm"; do chown :operator $f chmod 4550 $f done What about configuring this permission by default on FreeBSD ? And why /sbin/reboot isn't useable by operator too ? Are there somes security issue ? Regards, Olivier