Search results

  1. D

    Sensible way to manage sudo commands from script?

    @f33dm3bits Thanks again. After some problems I got it to work, at last. Here's what I have now, in /etc/sudoers: %wheel ALL(ALL) ALL %wheel ALL=(ALL) NOPASSWD: /usr/bin/xkeysnail,/usr/bin/kill Note that the second line must be after the first line for it two work. I had to comment the %wheel...
  2. D

    Sensible way to manage sudo commands from script?

    @wizardfromoz Thanks for the work! I really didn't understand what that guy was on about jajajaj @f33dm3bits Thanks for the information and the resources. But I don't think I fully understand how the `setuid` approach may work for my situation. I've added the `setuid` bit to the script. Then...
  3. D

    Sensible way to manage sudo commands from script?

    Anti-CLI? How would you do something like this with a GUI?
  4. D

    Sensible way to manage sudo commands from script?

    I understand now, thanks a lot for the tip! I guess it's somehow tricky what I want to do
  5. D

    Sensible way to manage sudo commands from script?

    Thanks for the reply! I'm sorry but I think I don't understand what you mean. Where do I have to run "sudo -s"? In my script? In the keybinding line of the XFCE keybinding program? And also, running "sudo -s" still asks for my password.
  6. D

    Sensible way to manage sudo commands from script?

    Hey guys! I have a script: ~/.local/bin/did-keyboard to manage the loading of xkeysnail with my specific configurations. I normally run it as did-xkeysnail --load, and it asks me for my sudo password since I have multiple sudo commands in there: sudo kill ..., sudo nohup xkeysnail... (since...
Top