System Administration Guide

How to Log In to a Remote System (rlogin)

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.

Example--Logging In to a Remote System (rlogin)

The following example shows the output of a direct remote login to pluto. The user has been authenticated by the network.


$ rlogin pluto
Last login: Tue Apr 29 12:53:40 from earth
Sun Microsystems Inc.   SunOS 5.6       August 1997
You have mail.
pluto%

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: Tue Apr 29 12:53:40 from earth
Sun Microsystems Inc.   SunOS 5.6       August 1997
You have mail.
pluto%