rlogin

rlogin is a software utility for Unix-like computer operating systems that was first distributed as part of the 4.2BSD release. rlogin allows users to log in on another host via a network, using TCP port 513.

rlogin is also the name of the application layer protocol used by the software, part of the TCP/IP protocol suite. Authenticated users can act as if they were physically present at the computer. RFC 1282, in which it was defined, states: "The rlogin facility provides a remote-echoed, locally flow-controlled virtual terminal with proper flushing of output." rlogin communicates with a daemon, rlogind, on the remote host. rlogin is similar to the Telnet command, but is not as customizable and is able to connect only to Unix-like hosts.

Use

rlogin is most commonly deployed on corporate and academic networks, where user account information is shared among all the Unix machines on the network (often using NIS). These deployments essentially trust all other machines (and the network infrastructure).

Security

rlogin has several serious security problems:

Due to these problems, rlogin was rarely used across untrusted networks (like the public internet) and even in closed deployments it fell into relative disuse (with many Unix and Linux distributions no longer including it by default). Many networks that formerly relied on rlogin and telnet have replaced it with SSH and its rlogin-equivalent slogin.[1][2]

Replacements

The original Berkeley package that provides rlogin also features rcp (remote-copy, allowing files to be copied over the network) and rsh (remote-shell, allowing commands to be run on a remote machine without the user logging into it). These share the hosts.equiv and .rhosts access-control scheme (although they connect to a different daemon, rshd), and as such suffer from the same security exposures. The ssh suite contains suitable replacements for both: scp replaces rcp, and ssh itself replaces both rlogin and rsh.

See also

References

  1. Sobell, Mark (2010). A Practical Guide to Linux Commands, Editors, and Shell Programming. Pearson Education, Inc. ISBN 978-0-13-136736-4.
  2. "Unix job control command list". Indiana University. Retrieved 20 December 2014.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.