Wirrunna wrote:
> Finally got around to setting up Server Power Control on an upgraded
> Vortexbox 2.4 only to find pm-utils does not appear to be installed and
> a quick google search brought up
> http://forums.fedoraforum.org/showthread.php?t=308044 which says
> pm-utils is not available for Fedora 2.3.
>
> The pm-utils site http://pm-utils.freedesktop.org/wiki/ gives the git
> clone command, in which directory should the git clone command be run ?
Sorry, about the delay in answering. I've been in an undisclosed
location (See-You-Be-Eh...shhhhh!) and have only just gotten home. I'll
get a Fedora 23 machine up and running this next week, I hope. In the
mean time, try making the following changes to the command settings on
the SrvrPowerCtrl settings page:
Shutdown Command: sudo /bin/systemctl poweroff
Suspend Command: sudo /bin/systemctl suspend
Hibernate Command: sudo /bin/systemctl hibernate
Reboot Server Command: sudo /bin/systemctl reboot
and edit the /etc/sudoers file on the server (need to be root or su to
do) add lines to the bottom of /etc/sudoers like:
Code:
--------------------
lms ALL = NOPASSWD: /bin/systemctl suspend
lms ALL = NOPASSWD: /bin/systemctl hibrid-sleep
lms ALL = NOPASSWD: /bin/systemctl hibernate
lms ALL = NOPASSWD: /bin/systemctl poweroff
lms ALL = NOPASSWD: /bin/systemctl reboot
--------------------
..changing lms to match the account name that LMS is running
under...i.e. match the account name used further up in the sudoers file
for
ALL = NOPASSWD: /sbin/shutdown*
I'm trying this now with Ubuntu 15.04 which uses systemd and systemctl.
So far, it seems to work.
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins