remlogin(1N) remlogin(1N)
NAME
remlogin - remote sign on
SYNOPSIS
remlogin
DESCRIPTION
The remlogin command is used when a user initially signs on
from a remote host.
When remlogin is invoked from a virtual terminal server pro-
cess, it asks for a user name, and, if appropriate, a pass-
word. Echoing is turned off (if possible) during the typing
of the password, so it will not appear on the written record
of the session.
After a successful login, accounting files are updated and
the user is informed of the existence of mail. The message
of the day is printed, as is the time of his last login.
Both are suppressed if he has a .hushlogin file in his home
directory; this is mostly used to make life easier for non-
human users, such as uucp.
remlogin initializes the user and group IDs and the working
directory, then executes a command interpreter (usually
csh(1)) according to specifications found in a password
file. Argument 0 of the command interpreter is the name of
the command interpreter with a leading dash (-).
remlogin also modifies the environment environ(7) with in-
formation specifying home directory, command interpreter,
terminal type (if available) and user name.
If the file /etc/nologin exists, login prints its contents
on the user's pseudo terminal and exits. This is used by
shutdown(1M) to stop users logging in when the system is
about to go down.
FILES
/usr/spool/mail/*
/etc/utmp accounting
/usr/adm/wtmp accounting
/usr/spool/mail/* mail
/etc/motd message-of-the-day
/etc/passwd password file
/etc/nologin stops logins
.hushlogin makes login quieter
SEE ALSO
mail(1), passwd(1), getty(1M), rlogind(1M), telnetd(1M),
init(1M), shutdown(1M), rlogin(1N), passwd(5), environ(7).
April, 1990 1
DIAGNOSTICS
Login incorrect
if the name or the password is bad.
No Shell
cannot open password file
no directory
consult a system administrator.
BUGS
remlogin uses two undocumented options. -r is used by the
remote login server, rlogind(1M) to force remlogin to enter
into an initial connection protocol. -h is used by
telnetd(1M) and other servers to list the host from which
the connection was received.
2 April, 1990