Access as localuser not allowed from remoteuser@remotehost: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
--- This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected]. ---


There must be something wrong with .amandahosts configuration (or .rhosts, if you have configured --without-amandahosts).  
There must be something wrong with .amandahosts configuration (or .rhosts, if you have configured --without-amandahosts).  
Line 5: Line 6:


Make sure you specify the names exactly as they appear in the error message after the `@' sign in .amandahosts/.rhosts. You'll need a fully-qualified domain name or not, depending on how your client resolves IP addresses to host names.
Make sure you specify the names exactly as they appear in the error message after the `@' sign in .amandahosts/.rhosts. You'll need a fully-qualified domain name or not, depending on how your client resolves IP addresses to host names.


----
----

Revision as of 11:35, 15 November 2005

--- This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected]. ---

There must be something wrong with .amandahosts configuration (or .rhosts, if you have configured --without-amandahosts).

First, if the USERNAME is not what you expect (i.e., not what you have specified in the --with-user flag, at configure time), check the inetd configuration file: you must have specified the wrong username there.

Make sure you specify the names exactly as they appear in the error message after the `@' sign in .amandahosts/.rhosts. You'll need a fully-qualified domain name or not, depending on how your client resolves IP addresses to host names.


Check that the hostname in .amandahosts/.rhosts is the same as the one in the error message.

Check the ownership and permissions of .amandahosts/.rhosts. Adjust it:

  chown amanda:disk ~amanda/.amandahosts
  chmod 0600 ~amanda/.amandahosts

Check .amandahosts/.rhosts for proper lines, usually you need two for each client, one for the amanda-user (for amdump) and one for root (for amrecover/amrestore):

  amandaclient.my.domain amanda
  amandaclient.my.domain root