Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rhosts(4) — OSF/1 X2.0-8 MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rcp(1)

rlogin(1)

rsh(1)

rcmd(3)

rhosts(4)  —  File Formats

OSF

NAME

rhosts, .rhosts − Specifies remote users that can use a local user account

SYNOPSIS

$HOME/.rhosts

DESCRIPTION

The .rhosts file contains a list of remote users who are not required to supply a login password when they execute the rcp, rlogin, and rsh commands using a local user account.  This file is a hidden file in your home directory and must be owned by you or by the root user.  The permissions of the .rhosts file should be set to 600 (read and write by owner only).  Each entry in the file is of the form:

host user

where host is the name of the remote host and user is the login name of the remote user.  If the remote host is in a different domain than the local host, the full domain name must be specified. 

The user field is optional.  If this field is omitted, any user on the specified remote host is exempt from providing a password, and is assumed to have the same username on both the local and remote hosts. 

EXAMPLES

The following sample entries in the /u/chen/.rhosts file on host zeus allow users moshe and pierre at remote host venus to log in to user chen’s home directory on host zeus:

venus moshe
venus pierre

FILES

$HOME/.rhosts
Specifies remote users who can use a local user account.

RELATED INFORMATION

Commands:  rcp(1), rlogin(1), rsh(1). 

Functions:  rcmd(3). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026