Skip to content

Commit

Permalink
Merge branch 'pr765' into pr-merger
Browse files Browse the repository at this point in the history
  • Loading branch information
phreaker0 committed Mar 20, 2023
2 parents 3b0f281 + c408bdd commit fda6b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@ Take a look at the files `sanoid.defaults.conf` and `sanoid.conf` for all possib
Also have a look at the README.md for a simpler suggestion for `sanoid.conf`.

## Syncoid
If you are pushing or pulling from a remote host, create an user with privldeges to `ssh` as well as `sudo`. To ensure that `zfs send/recieve` can execute, adjust the privileges of the user to execute `sudo` **without** a password for only the `zfs` binary. Modify `/etc/sudoers` by running `# visudo`. Add the following line for your user.
If you are pushing or pulling from a remote host, create a user with privileges to `ssh` as well as `sudo`. To ensure that `zfs send/receive` can execute, adjust the privileges of the user to execute `sudo` **without** a password for only the `zfs` binary (run `which zfs` to find the path of the `zfs` binary). Modify `/etc/sudoers` by running `# visudo`. Add the following line for your user.

```
...
<user> ALL=NOPASSWD: /usr/local/sbin/zfs
<user> ALL=NOPASSWD: <path of zfs binary>
...
```

0 comments on commit fda6b52

Please sign in to comment.