rhosts man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

HOSTS.EQUIV(5)		    BSD File Formats Manual		HOSTS.EQUIV(5)

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

     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:


	   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 Internet DNS dotted-domains
     “.” (dot) notation using the inet_addr(3) routine from the Internet
     address manipulation library, inet(3).  Host names may contain any print‐
     able character other than a field delimiter, newline, or comment charac‐

     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.

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

	   bar.com foo

     Trust user “foo” from host “bar.com”.


     Trust all hosts from netgroup “allclient”.

	   +@allclient -@dau

     Trust all hosts from netgroup “allclient” and their users except users
     from netgroup “dau”.

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

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

BSD			       December 8, 2007				   BSD

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net