.RHOSTS(5,F) AIX TCP/IP User's Guide .RHOSTS(5,F) ------------------------------------------------------------------------------- .rhosts PURPOSE Defines privileged remote hosts and users. SYNOPSIS $HOME/.rhosts DESCRIPTION Each AIX user may have a .rhosts file in his home directory. The contents of this file specify, by hostname and username, the users of remote hosts who are allowed to execute commands through the rlogin and rsh programs (including rcp) on the local machine without supplying a password. For example, if there are two AIX machines with TCP/IP connected through a network, having hostnames, respectively, of pearl and opal, a user named joe on pearl could permit a user named frank on opal to rlogin to his (joe's) account without supplying joe's password by placing a line of the form: opal frank in the file .rhosts file consisting of a hostname followed by a username, separated by a space or TAB character. Hostnames may be qualified with domain names, e.g. opal.ibm.avs.com. Only one hostname and one username may appear on each line. Multiple lines may appear in the file. If root is to have a .rhosts file, it should be placed in the root directory. (It is not recommended that root have a .rhosts file because this is a serious security risk.) FILES /usr/lpp/tcpip/samples/rhosts RELATED INFORMATION In this book: "rcp" "rlogin" "rsh, remsh" Processed October 29, 1990 .RHOSTS(5,F) 1