Skip to content

Commit

Permalink
Fix wrong binary name
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4cks committed Dec 2, 2023
1 parent 0a2bee2 commit 22f7f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ getcap /usr/local/bin/power
And use setcap again, to remove the capability:

```shell
setcap cap_net_bind_service=-ep /usr/local/bin/wakeup
setcap cap_net_bind_service=-ep /usr/local/bin/power
```

*❗️ With this setup, any nonprivileged user can now run `power` on privileged ports. So, be very careful about what you do. Additionally, you can further restrict execution of the `power` binary, either using standard credentials (chmod, chown et al) or, even better, ACLs.*
Expand Down

0 comments on commit 22f7f8c

Please sign in to comment.