From owner-freebsd-current@FreeBSD.ORG Tue Jan 22 18:38:16 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 ADBE8504; Tue, 22 Jan 2013 18:38:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x234.google.com (we-in-x0234.1e100.net [IPv6:2a00:1450:400c:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 2443DCEF; Tue, 22 Jan 2013 18:38:15 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id k14so274087wer.25 for ; Tue, 22 Jan 2013 10:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=oqgDlE+POmH3Kdjiw1wBHY+snj+IJ0GgzVakKbKHUYw=; b=TOX9fn3OqYR09gwTuPxr4XrN4DbjPPvrNqCAxeS2Z3lb7N3t0cEYW6SNroXC2MeEQ9 0SBUw0pttm+Fb95io4q6Gj+FOspsSVCK7Jg6jNZcOb3b4atZjDsArXOXCgTAtjrCOZM6 4tIWWnxZp10e+RtNSqRNyObZt4AVkIjd1h7pry5HqKqOnvoBCDLccnuBCreIVqj9pUlr 0D+StIRV4TnDeQ3ak5GPeD9EAAdjmT51oWJu4nIUKNYbr+y+vo28HA+cCKApKLZ4KkXW aA1+E5pSiP5SCAEQi6r1UJaB3iLWrQXwHJEhxJN+YaKhxD1xcVVMOtaYWd2Ri35GCxXe sgAQ== MIME-Version: 1.0 X-Received: by 10.180.24.70 with SMTP id s6mr23182849wif.22.1358879894495; Tue, 22 Jan 2013 10:38:14 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.123.73 with HTTP; Tue, 22 Jan 2013 10:38:14 -0800 (PST) In-Reply-To: <20130122175933.GD41700@FreeBSD.org> References: <20130122175933.GD41700@FreeBSD.org> Date: Tue, 22 Jan 2013 10:38:14 -0800 X-Google-Sender-Auth: O08Ep2mHh4bMyMCvHs5NRRpexYY Message-ID: Subject: Re: Adding more tools to be used by operator group members From: Adrian Chadd To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: Olivier Cochard-Labb? , "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 18:38:16 -0000 Ah, the historical difference between shutdown -r and reboot.... adrian On 22 January 2013 09:59, Gleb Smirnoff wrote: > 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. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"