Log in to a remote system using the rlogin(1) command.
$ rlogin [-l user-name] system-name |
rlogin |
(No options) Logs you in to the remote system directly; in other words, with your current user name. |
-l user-name |
Logs you into the remote system indirectly; in other words, with the user name you supply. |
If the network attempts to authenticate you, you won't be prompted for a password. If the remote system attempts to authenticate you, you will be asked to provide a password.
If the operation succeeds, the rlogin command displays brief information about your latest remote login to that system, the version of the operating system running on the remote system, and whether you have mail waiting for you in your home directory.
The following example shows the output of a direct remote login to pluto. The user has been authenticated by the network.
$ rlogin starbug Last login: Mon Jul 12 09:28:39 from venus Sun Microsystems Inc. SunOS 5.8 February 2000 starbug: |
The following example shows the output of an indirect remote login to pluto, with the user being authenticated by the remote system.
$ rlogin -l smith pluto password: user-password Last login: Mon Jul 12 11:51:58 from venus Sun Microsystems Inc. SunOS 5.8 February 2000 starbug: |