Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:linux_non-root [2020/03/23 19:16] – [authbind] beautify digital man | howto:linux_non-root [2023/03/09 10:40] (current) – add link to systemd unit file digital man | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Start Synchronet on Linux as a Non-root user ====== | ====== Start Synchronet on Linux as a Non-root user ====== | ||
| + | |||
| + | ===== systemd ===== | ||
| + | If you're running any kind of recent (last 2yrs+) systemd, just put this line in the '' | ||
| + | '' | ||
| ===== setcap ===== | ===== setcap ===== | ||
| '' | '' | ||
| - | < | + | $ sudo / |
| - | + | ||
| - | This must be ran on the executable file itself (if ''/ | + | |
| - | sudo setcap ' | + | |
| This will need to be re-ran any time the binary is rebuilt and can be automated by adding the '' | This will need to be re-ran any time the binary is rebuilt and can be automated by adding the '' | ||
| - | make RELEASE=1 setcap symlinks | + | |
| + | |||
| + | To confirm the bind capabilities were set successfully, | ||
| + | $ sudo getcap `realpath / | ||
| + | / | ||
| ===== authbind ===== | ===== authbind ===== | ||