Bug 175799 - [patch] Adding more tools to be used by operator group members (reboot, apm, acpiconf)
Summary: [patch] Adding more tools to be used by operator group members (reboot, apm, ...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2013-02-03 14:50 UTC by olivier
Modified: 2022-10-17 12:36 UTC (History)
0 users

See Also:


Attachments
file.diff (2.15 KB, patch)
2013-02-03 14:50 UTC, olivier
no flags Details | Diff
More.use.of.operator.group.diff.txt (1.04 KB, patch)
2013-02-03 14:54 UTC, olivier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description olivier 2013-02-03 14:50:00 UTC
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 (that call apm and acpiconf).
Here is the list of tool useable by operator group:
/sbin/reboot/
/usr/sbin/apm
/usr/sbin/acpiconf

Here is the thread on the -current mailing-list regarding this proposal:
http://lists.freebsd.org/pipermail/freebsd-current/2013-January/039198.html

Fix: By applying the simple attached patch.

Patch attached with submission follows:
Comment 1 olivier 2013-02-03 14:54:53 UTC
Oops, it was the wrong patch, here is the good one (that didn't touch
the generic kernel config file).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:53 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:39 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>