Browse code

Mention about sudoers in article

Cinan Rakosnik authored on 21/02/2013 at 19:35:12
Showing 1 changed files
... ...
@@ -73,6 +73,13 @@ the directory but won't recreate the directory.
73 73
 
74 74
 # Little bit of security
75 75
 
76
+The sync-user usershould be able to run ```sudo rsync``` without asking a password. Simply
77
+add this line to ```/etc/sudoers```:
78
+
79
+{% codeblock %}
80
+sync-user ALL= NOPASSWD: /usr/bin/rsync
81
+{% endcodeblock %}
82
+
76 83
 Before running the script, sacrifice more of your time for sake of security. The
77 84
 ```--rsync-path``` option can be quite dangerous. On server-side setup rrsync first.
78 85
 Basically it allow sync-user to run rsync in defined something-like-chroot