remlogin(1M) remlogin(1M)
NAME
remlogin - runs on a remote system to log you in
SYNOPSIS
remlogin -h host-name terminal-type
remlogin -h host-name -p
remlogin -r host-name
ARGUMENTS
-h host-name
Passes the name of the host from which you are logging
in so that remlogin can place it in /etc/utmp and
/etc/wtmp. This option is used by telnetd and other
servers.
-p Prevents remlogin from modifying the TERM environment
variable. This option is used by telnetd.
-r host-name
Forces remlogin to enter the auto-login protocol and
passes the name of the host from which you are logging
in to remlogin, which places the host name in /etc/utmp
and /etc/wtmp. This option is used by rlogind.
terminal-type
Contains the value of TERM in your local login session.
DESCRIPTION
remlogin is run by rlogin and telnetd on the remote system
when you run rlogin or telnet, respectively.
When you enter remlogin from a virtual terminal server
process, it prompts for your user name and, if appropriate,
a password. If possible, remlogin turns off echoing as you
type your password. That way, your password doesn't appear
on the written record of the session.
After a successful login, remlogin updates accounting files,
informs you if you have mail, and displays the message of
the day and the time of your last login. The message of the
day and your last login time aren't displayed if you have a
.hushlogin file in your home directory; this feature allows
commands that log in, such as uucico, to work.
The remlogin command also modifies your environment with
information specifying home directory, command interpreter,
terminal type (if available), and user name.
If the file /etc/nologin exists and you are not logging in
as root, remlogin prints its contents on your pseudoterminal
February 1992 1
remlogin(1M) remlogin(1M)
and exits. This file is used by shutdown to prevent users
from logging in when the system is about to go down.
The remlogin command initializes the user and group IDs and
the working directory, then runs the command interpreter
specified in the local password file or, if the network is
administered by NIS, in the master server password file.
The first argument to the command interpreter is the name of
the command interpreter with a leading hyphen (-).
STATUS MESSAGES AND VALUES
Login incorrect
The user name or password that you supplied is
incorrect.
No directory!
You do not have a home directory on the system you are
logging in to. Depending on how you are logging in,
your current directory is set to / or you are logged
out. If you are logged out, consult the system
administrator of the remote system.
No Shell
The password file could not be opened or your entry in
the password file specifies a shell that could not be
found.
FILES
/bin/remlogin
Executable file
.hushlogin
File that prevents the display of mail notification,
the message of the day, and the last time you logged in
/etc/motd
File containing the message of the day
/etc/nologin
File that prevents logins
/etc/passwd
Password file
/etc/utmp
Accounting file
/etc/wtmp
Accounting file
/usr/mail/*
Files containing mail
SEE ALSO
mail(1), passwd(1), telnet(1C), rlogin(1N)
passwd(4), environ(5) in A/UX Programmer's Reference
2 February 1992
getty(1M), init(1M), rlogind(1M), shutdown(1M), telnetd(1M)
in A/UX System Administrator's Reference
February 1992 3