How To:Configure rsh authentication: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
m (add header)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{XXX|Dustin|Needs TLC, merging}}
{{How To Header}}
 
== Client Configuration==
== Client Configuration==
To configure a client for ''rsh'' authentication, the Amanda server must be given permission to connect with the client using the rsh protocol.  This entails the existence of a .''rhost'' file in the Amanda user's home directory on the client and must contain on an individual line the hostname or possibly the fully qualified domain name of the Amanda server.  This file should also be readable and writable only by the Amanda user.
To configure a client for ''rsh'' authentication, the Amanda server must be given permission to connect with the client using the rsh protocol.  This entails the existence of a .''rhost'' file in the Amanda user's home directory on the client and must contain on an individual line the hostname or possibly the fully qualified domain name of the Amanda server.  This file should also be readable and writable only by the Amanda user.
Line 17: Line 16:
           ...
           ...
  }
  }
== More ==
For more detail, see {{man|7|amanda-auth}}.

Latest revision as of 18:21, 13 January 2009

This article is a part of the How Tos collection.

Client Configuration

To configure a client for rsh authentication, the Amanda server must be given permission to connect with the client using the rsh protocol. This entails the existence of a .rhost file in the Amanda user's home directory on the client and must contain on an individual line the hostname or possibly the fully qualified domain name of the Amanda server. This file should also be readable and writable only by the Amanda user.

Server Configuration

If rsh authentication is not the global authentication method for the Amanda server, specifying auth field in a client's dumptype definition will be required as may specifying client_username and amandad_path fields. If the backup user name is different on the Amanda client, the user name is specified as client_username. If the location of amandad binary is different on the Amanda client, the location is specified as amandad_path field value.

For example:

define dumptype rsh_example {
         ...
         auth "rsh"
         client_username "amandabackup"
         amandad_path "/usr/lib/exec/amandad"
         ...
}

More

For more detail, see amanda-auth(7).