Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 14:03:12 +0100
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Adding more tools to be used by operator group members
Message-ID:  <CA%2Bq%2BTcp8vywbjObRNaUrZxt37j%2BKZekcOJonYr6Lx8y5CV0vCQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

There are only 2 useable tools by "operator" group members:
shutdown (and its child: poweroff, halt, etc=85) 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcp8vywbjObRNaUrZxt37j%2BKZekcOJonYr6Lx8y5CV0vCQ>