From 677cc2c2a6994c3bcc92641973337804e9296d40 Mon Sep 17 00:00:00 2001 From: "Paul C. Buetow (mars.fritz.box)" Date: Sun, 22 Jun 2014 11:10:22 +0200 Subject: update documentation --- docs/netdiff.pod | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/netdiff.pod') diff --git a/docs/netdiff.pod b/docs/netdiff.pod index 9dc26ad..7124d5c 100644 --- a/docs/netdiff.pod +++ b/docs/netdiff.pod @@ -11,17 +11,17 @@ This is very helpful if you want to find out any difference of these two hosts. =head2 USAGE Cluster-SSH into two hosts at the same time and run on both hosts the same -(simultaneous): +(simultaneous) command: netdiff HOSTNAME PATH -Where HOSTNAME can be the hostname of the first or the second host. Depending on this the script will decide to be the client or the server role. +Where HOSTNAME can be the hostname of the first or the second host. Depending on this the script will decide to be in the client or the server role. And where PATH musst be a full qualified path to a file or a directory. -Netdiff transfers everything in PATH (recursively and encrypted via OpenSSL/AES) to the other host and computes a diff of it. +Netdiff transfers everything in PATH (recursively and encrypted via OpenSSL/AES) to the other host and computes a diff of it. The latter with the diff tool. -If no port is specified the default port will be used, which is defined in +If no port is specified the default port will be used which is defined in /etc/default/netdiff @@ -29,11 +29,11 @@ If no port is specified the default port will be used, which is defined in A common use case is to find out the differences of the PAM configuration. On most systems the PAM configuration is spread into several small configuration files which are hard to compare by hand between two hosts. -Given two hosts one.example.com and two.example.com. Just run this command on both hosts: +Given two hosts one.example.com and two.example.com. Just run this command on both hosts simultaneously: netdiff one.example.com /etc/pam.d -The same affect, but the other way around would be the following command: +The same affect, but the other way around, would be the following command: netdiff two.example.com /etc/pam.d -- cgit v1.2.3