Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 21:59:33 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Olivier Cochard-Labb? <olivier@cochard.me>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Adding more tools to be used by operator group members
Message-ID:  <20130122175933.GD41700@FreeBSD.org>
In-Reply-To: <CA%2Bq%2BTcp8vywbjObRNaUrZxt37j%2BKZekcOJonYr6Lx8y5CV0vCQ@mail.gmail.com>
References:  <CA%2Bq%2BTcp8vywbjObRNaUrZxt37j%2BKZekcOJonYr6Lx8y5CV0vCQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130122175933.GD41700>