Re: [dev] [slock] Configure OOM killer as non-root

From: S. R. Gal <Swiatoslaw.Gal_AT_univie.ac.at>
Date: Wed, 9 Jul 2014 21:43:53 +0200

---------- From Danilo 08-07-2014 at 16:19 ----------
> Hi Amadeus
>
> Am Di, 8. Jul 2014, um 16:08, schrieb Amadeus Folego:
> > I also can't use it as non-root, how did you solve it?
>
> You need to change the owner of the binary to "root" and set the suid
> bit:
>
> $ sudo chown root slock
> $ sudo chmod u+s slock
>
> If you use "make install", this happens automatically.

It would not work with stow though, would it?

I use
make install PREFIX=/usr/local/stow/slock-$(date "+%Y-%m-%d")
cd /usr/local/stow/
stow slock-$(date "+%Y-%m-%d")

s.
Received on Wed Jul 09 2014 - 21:43:53 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 09 2014 - 21:48:11 CEST