Skip to content

Problem setting up passwordless sudo for scripting addition #2162

Closed Answered by gegoune
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

First string in that file should be your username, not root.

echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa"

If you run that it will print what you need to add to the file, notice whoami command, if you did run it before you must have ran it as root. Run it as your regular user instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant