Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 10:38:14 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        Olivier Cochard-Labb? <olivier@cochard.me>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Adding more tools to be used by operator group members
Message-ID:  <CAJ-VmokFh3syyTf7j_pL-=p423c3wUKhTZnms3vi65XmBwc9=Q@mail.gmail.com>
In-Reply-To: <20130122175933.GD41700@FreeBSD.org>
References:  <CA%2Bq%2BTcp8vywbjObRNaUrZxt37j%2BKZekcOJonYr6Lx8y5CV0vCQ@mail.gmail.com> <20130122175933.GD41700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ah, the historical difference between shutdown -r and reboot....


adrian

On 22 January 2013 09:59, Gleb Smirnoff <glebius@freebsd.org> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokFh3syyTf7j_pL-=p423c3wUKhTZnms3vi65XmBwc9=Q>