Content deleted Content added
→External links: templated; +"Further reading" section |
rescoped article and wrote new lede; merged some content from Remote Process Execution (now redirected) |
||
Line 2:
| date = February 2017
}}{{lowercase}}
{{IPstack}}
The '''Berkeley r-commands''' are a [[Software suite|suite]] of [[computer program]]s designed to enable computer users to access various [[System resource|computer resources]] available on a [[Computer network|network]]. The r-commands were developed in 1982 by the [[Computer Systems Research Group]] at the [[University of California, Berkeley]], based on an early implementation of [[TCP/IP]] (the [[protocol stack]] of the [[Internet]]).<ref name="McKusick">{{cite book |title=[[Open Sources: Voices from the Open Source Revolution]] |last=McKusick |first=Marshall Kirk |authorlink=Marshall Kirk McKusick |year=1999 |isbn=978-1-56592-582-3 |chapter=Twenty Years of Berkeley Unix: From AT&T-Owned to Freely Redistributable |chapter-url=http://www.oreilly.com/openbook/opensources/book/kirkmck.html |publisher=O'Reilly & Associates |at=Section: "4.2BSD" |access-date=2018-03-03}}</ref>
The CSRG incorporated the r-commands into their [[Unix]] [[operating system]], the [[Berkeley Software Distribution]] (BSD). The r-commands premiered in BSD v4.1.<ref name="McKusick"/> Among the programs in the suite are: {{code|rcp}} (remote copy), {{code|rexec}} (remote [[Execution (computing)|execution]]), {{code|rlogin}} (remote [[login]]), {{code|rsh}} (remote [[Shell (computing)|shell]]), and {{code|rwho}} (remote [[who (Unix)|who]]).
rlogin is also the name of the [[application layer]] [[Communications protocol|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 (computer software)|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.▼
==
{{code|rlogin}} enables a user to log in on another [[Server (computing)|server]] via [[computer network]], using [[Transmission Control Protocol|TCP]] [[network port]] 513.
▲rlogin is also the name of the [[application layer]] [[Communications protocol|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 (computer software)|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.
==rcp, rexec, rsh, and rwho==
{{Further|Remote Shell}}
The original Berkeley package that provides rlogin also features
Like rsh, rexec enables the user to run shell commands on a remote computer. However, unlike the rsh server, the rexec server (rexecd) authenticates users by reading the username and password (unencrypted) from the socket.<ref>{{cite web |url=http://www.manpagez.com/man/8/rexecd/ |title=rexecd(8) |website=manpagez.com |access-date=2018-03-03}}</ref> rexec uses TCP port 512.
With rwho, a user can display a list of users who are logged into a remote, [[multi-user]] computer.
▲The original Berkeley package that provides rlogin also features [[rcp (Unix)|rcp]] (remote-copy, allowing files to be copied over the network) and [[Remote Shell|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 ==
* [[Secure Shell]]
* [[Telnet]]
* [[who (Unix)]]
==Notes==
{{reflist}}▼
== References ==
Line 36 ⟶ 34:
* {{FOLDOC}}
{{refend}}
▲{{reflist}}
==Further reading==
|