Adding more tools to be used by operator group members

Olivier Cochard-Labbé olivier at cochard.me
Tue Jan 22 13:11:27 UTC 2013


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


More information about the freebsd-current mailing list