Adding more tools to be used by operator group members

From: Olivier Cochard-Labbé <olivier_at_cochard.me>
Date: Tue, 22 Jan 2013 14:03:12 +0100
Hi all,

There are only 2 useable tools by "operator" group members:
shutdown (and its child: poweroff, halt, etc…) 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
Received on Tue Jan 22 2013 - 12:11:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC