If you have added users to Bodhi Linux and need to deny these users access to sudo you may have noticed these lesser privileged users are unable to shutdown, reboot, suspend or hibernate the computer. Fortunately, there is an easy fix.
First, we create a group power. Any users we add to this group we will allow access to the system section of Bodhi's Menu, that is they will have the ability to shutdown, reboot, suspend or hibernate the computer. So to create this group, from an administrative account:
sudo groupadd power
Now assume we have a non-administrator user Joe, to add Joe to the power group:
sudo adduser Joe power
Now we need to configure Enlightenment so that all users in the power group can shutdown the computer. Open Enlightenment's
/etc/enlightenment/sysactions.conf file as root in the text editor of your choice, leafpad for the purposes of this example:
gksudo leafpad /etc/enlightenment/sysactions.conf
Once the file opens add the line:
group: power allow: halt reboot suspend hibernate
to the bottom of the group section below the line
group: plugdev allow: *
Now save the file
sysactions.conf and user Joe will be able to shutdown the computer.
Original wiki by ylee