mihies
Dabbler
- Joined
- Jan 6, 2022
- Messages
- 32
Hi,
The documentation for setting up remote replication at setting up remote replication says that admin user needs paswordless sudo commands. However, if one doesn't want to allow all of them, it is possible to select specific ones, specifically Allowed sudo commands with no password -> /var/sbin/zfs.
Said path doesn't seem to exist, but /usr/bin/zfs exists. So I wonder if that's because of obsolete documentation, a typo or something else?
Allowing all sudo commands without password sounds risky to me. Using default admin user as well, I guess creating a dedicated admin user with paswordless sudo command only to zfs is the best option.
The documentation for setting up remote replication at setting up remote replication says that admin user needs paswordless sudo commands. However, if one doesn't want to allow all of them, it is possible to select specific ones, specifically Allowed sudo commands with no password -> /var/sbin/zfs.
Said path doesn't seem to exist, but /usr/bin/zfs exists. So I wonder if that's because of obsolete documentation, a typo or something else?
Allowing all sudo commands without password sounds risky to me. Using default admin user as well, I guess creating a dedicated admin user with paswordless sudo command only to zfs is the best option.