From: Christian Weiske Date: Wed, 6 Feb 2013 20:21:00 +0000 (+0100) Subject: add sudo rules, fix dyndns user creation X-Git-Url: https://git.cweiske.de/ssh-dyndns.git/commitdiff_plain/a8516c0f72a002b50870f682756ea0360953b541 add sudo rules, fix dyndns user creation --- diff --git a/README.rst b/README.rst index b02ddeb..002b011 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ Setup 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:: @@ -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 -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