*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> rhosts (5)              
Title
Content
Arch
Section
 

HOSTS.EQUIV(5)

Contents


NAME    [Toc]    [Back]

     hosts.equiv, .rhosts -- trusted remote host and user name data base

DESCRIPTION    [Toc]    [Back]

     The hosts.equiv and .rhosts files contain information regarding trusted
     hosts and users on the network.  For each host a single line should be
     present with the following information:

     simple

	   hostname [username]

     or the more verbose

	   [+-][hostname|@netgroup] [[+-][username|@netgroup]]

     A ``@'' indicates a host by netgroup or user by netgroup.	A single ``+''
     matches all hosts or users.  A host name with a leading ``-'' will reject
     all matching hosts and all their users.  A user name with leading ``-''
     will reject all matching users from matching hosts.

     Items are separated by any number of blanks and/or tab characters.  A
     ``#'' indicates the beginning of a comment; characters up to the end of
     the line are not interpreted by routines which search the file.

     Host names are specified in the conventional ``.'' (dot) notation using
     the inet_addr(3) routine from the Internet address manipulation library,
     inet(3).  Host names may contain any printable character other than a
     field delimiter, newline, or comment character.

     For security reasons, a user's .rhosts file will be ignored if it is not
     a regular file, or if it is not owned by the user, or if it is writable
     by anyone other than the user.

EXAMPLES    [Toc]    [Back]

	   bar.com foo

     Trust user ``foo'' from host ``bar.com''.

	   +@allclient

     Trust all hosts from netgroup ``allclient''.

	   +@allclient -@dau

     Trust all hosts from netgroup ``allclient'' and their users except users
     from netgroup ``dau''.

FILES    [Toc]    [Back]

     /etc/hosts.equiv	  The hosts.equiv file resides in /etc.
     $HOME/.rhosts	  .rhosts file resides in $HOME.

SEE ALSO    [Toc]    [Back]

      
      
     rcp(1), rlogin(1), rsh(1), gethostbyname(3), inet(3), innetgr(3),
     ruserok(3), ifconfig(8), named(8), yp(8)

BUGS    [Toc]    [Back]

     This man page is incomplete.  For more information read the source in
     src/lib/libc/net/rcmd.c or the SunOS man page.


FreeBSD 5.2.1		       February 11, 1996		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
hosts.equiv OpenBSD trusted remote hosts and host-user pairs
phones FreeBSD remote host phone number data base
hosts FreeBSD host name data base
hosts Tru64 The host name data base
hosts HP-UX host name data base
rcp Tru64 Copies files on the same host, between a local host and a remote host, and between two remote hosts
rlogin Tru64 Logs a user into a remote host
rsh Tru64 Executes a specified command on a remote host or logs into a remote host
t_rcvudata HP-UX receive a data unit from remote transport provider user
t6rhdb_get_host IRIX TSIX Remote Host DataBase get host information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service