[[advanced:target]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
advanced:target [2018/10/05 00:12] – [Build ZFS on Linux] Already installed build-essential above, so not needed here danadvanced:target [2018/10/05 00:46] – [Create a replication user] dan
Line 69: Line 69:
  
 ===== Create a replication user ===== ===== Create a replication user =====
-For the sake of security, it would be best if replication to this device ran as a user other than root.  Start by creating the user:+For the sake of security, it would be best if replication to this device ran as a user other than root.  First, create a user in the FreeNAS web GUI called ''zfsuser'' Note the numeric userid for that user
 + 
 +Then, on the Odroid, as root, run
 <code> <code>
-adduser zfsuser +adduser zfsuser -u userid -s /bin/false
-</code> +
-Disable login for that user: +
-<code> +
-chsh -s /bin/false zfsuser +
-</code> +
-Generate a SSH keypair for that user: +
-<code> +
-sudo -u zfsuser ssh-keygen+
 </code> </code>
 +where "userid" is the numeric user ID noted on the FreeNAS box.
 +
 Now allow that user to make changes on the encrypted dataset: Now allow that user to make changes on the encrypted dataset:
 <code> <code>
  • advanced/target.txt
  • Last modified: 2018/10/10 00:02
  • by dan