Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rlogin(1C) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rsh(1C)

hosts.equiv(5)

RLOGIN(1C)  —  NEWS-OS Programmer’s Manual

NAME

rlogin − remote login

SYNOPSIS

rlogin rhost [ −ec ] [ −8 ] [ −L ] [ −C ] [ −l username ]
rlogin [ −ec ] [ −8 ] [ −L ] [ −C ] [ −l username ] rhost
rhost [ −ec ] [ −8 ] [ −L ] [ −C ] [ −l username ]

DESCRIPTION

rlogin connects your terminal on the current local host system lhost to the remote host system rhost. 

Each host has a file /etc/hosts.equiv which contains a list of rhost’s with which it shares account names.  (The host names must be the standard names as described in rsh(1C).)  When you rlogin as the same user on an equivalent host, you don’t need to give a password.  Each user may also have a private equivalence list in a file .rhosts in his login directory.  Each line in this file should contain an rhost and a username separated by a space, giving additional cases where logins without passwords are to be permitted.  If the originating user is not equivalent to the remote user, then a login and password will be prompted for on the remote machine as in login(1).  To avoid some security problems, the .rhosts file must be owned by either the remote user or root. 

The remote terminal type is the same as your local terminal type (as given in your environment variable TERM).  The terminal or window size is also copied to the remote system if the server supports the option, and changes in size are reflected as well.  All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent.  Flow control via ^S and ^Q and flushing of input and output on interrupts are handled properly. 

−8 Sets the local terminal device driver to raw mode, and allows an eight-bit input data path at all times; however, the flow control cannot be used for local.  When this option is not specified, local terminal device driver is set to cbreak mode and the flow control is handled properly. Even in this case, an eight-bit input data is accepted. 

−L Allows the rlogin session to be run in litout mode. 

−C Allows KANJI code conversion in the local terminal device driver when the local terminal devie driver is in cbreak mode and the terminal code and internal code are set differently. 

−l username
A user logins to a remote host system rhost as a user with a name username.

A line of the form “~.” disconnects from the remote host, where “~” is the escape character.  Similarly, the line “~^Z” (where ^Z, control-Z, is the suspend character) will suspend the rlogin session.  Substitution of the delayed-suspends the send portion of the rlogin, but allows output from the remote system.  A different escape character may be specified by the −e option.  There is no space separating this option flag and the argument character. 

If MAKEHOSTS has been executed at /usr/hosts, the third form is available when /usr/hosts is in the environment variable PATH. 

NOTES

rlogin with −C option in the current version is the same as rlogin with −7 option specified in NEWS-OS 3.0 to 3.2, or without −8 option in NEWS-OS 3.3/3.9R. 

SEE ALSO

rsh(1C), hosts.equiv(5)

FILES

/usr/hosts/∗for rhost version of the command
/etc/hosts.equiva list of trusted hosts by system
~/.rhosta list of trusted hosts by user

BUGS

More of the environment should be propagated. 

NEWS-OSRelease 4.2.1R

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