X-Git-Url: https://git.cweiske.de/ssh-dyndns.git/blobdiff_plain/81715db87f0b2bdd560923025d2c3795142a4644..a8516c0f72a002b50870f682756ea0360953b541:/README.rst diff --git a/README.rst b/README.rst index 55947a9..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,6 +43,11 @@ 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:: + + $ visudo + dyndns ALL= NOPASSWD: /usr/bin/make + Configuration ============= @@ -64,6 +69,14 @@ The configuration file may define the following variables: DNS entry TTL (time to live) in seconds Default: 300 +``domain_patterns`` + Defines patterns for domains that may be dynamically changed. + If the domain name does not match the pattern, the script aborts. + + You may use several patterns by separating them with a space. + Shell wildcards are supported (``*`` and ``?``). + + Default: ``home.example.org *.home.example.org`` =====