Re: How to trap ctrl-alt-del?

From: Laurent Bercot <>
Date: Thu, 01 Dec 2016 18:15:48 +0000

>The s6-poweroff is for root user, and I have users who wish to
>poweroff, and I don't want to give them sudo rights to power off the
>computer. That is why I am searching for simple solution.

  Create a "poweroff" group.
  Add all the users you want to that group.
  chown root:poweroff /bin/s6-poweroff
  chmod 4750 /bin/s6-poweroff

  Now, all users in the group "poweroff" have the right to call
s6-poweroff. They don't have any other privileges.

Received on Thu Dec 01 2016 - 18:15:48 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC