On 2/27/19 1:54 PM, Rich Shepard wrote:
> Looking at /etc/sudoers I see the example:
> %usersĀ  localhost=/sbin/shutdown -h now
> 
> Will this permit the Sony Vaio user to halt the laptop? I thought I had her
> set up to do this but it did not work today. If the above line allows
> everyone in the users group to shutdown the machine I'll modify the config
> file to use it.
> 
> TIA,
> 
> Rich

Instead of messing with sudo, you can configure the KDE and Xfce power
manager (and other DEs) to trigger a shutdown command by pressing the
power button. The user needs to be in the 'power' group IIRC.

-Ed




Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to