add sudo rules, fix dyndns user creation
authorChristian Weiske <cweiske@cweiske.de>
Wed, 6 Feb 2013 20:21:00 +0000 (21:21 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 6 Feb 2013 20:21:00 +0000 (21:21 +0100)
README.rst

index b02ddeb0e1a0e97b7cf650963aa72ae27048370d..002b0116e556e92a36c949b200bfbcef171bdd0d 100644 (file)
@@ -24,7 +24,7 @@ Setup
 
 2. Create a user with ``ssh-dyndns`` as login shell::
 
 
 2. Create a user with ``ssh-dyndns`` as login shell::
 
-    $ useradd -g nogroup -m -N -s /usr/local/src/ssh-dyndns dyndns
+    $ useradd -g nogroup -m -N -s /usr/local/src/ssh-dyndns/ssh-dyndns dyndns
 
 3. Setup password-less ssh keys for the dyndns user::
 
 
 3. Setup password-less ssh keys for the dyndns user::
 
@@ -43,9 +43,10 @@ Setup
     $ cp /usr/local/src/ssh-dyndns/ssh-dyndns.sh.config-dist /etc/ssh-dyndns.sh
     $ nano /etc/ssh-dyndns.sh
 
     $ cp /usr/local/src/ssh-dyndns/ssh-dyndns.sh.config-dist /etc/ssh-dyndns.sh
     $ nano /etc/ssh-dyndns.sh
 
-6. Allow ssh-dyndns to run "sudo make" without password
+6. Allow ssh-dyndns to run "sudo make" without password::
 
 
-   FIXME
+    $ visudo
+    dyndns  ALL= NOPASSWD: /usr/bin/make
 
 
 Configuration
 
 
 Configuration