SCCS-vsn: usr.bin/login/login.1 6.1
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)login.1 5.1 (Berkeley) %G%
+.\" @(#)login.1 6.1 (Berkeley) %G%
-.TH LOGIN 1 "1 April 1983"
.UC 4
.SH NAME
login \- sign on
.SH SYNOPSIS
.B login
.UC 4
.SH NAME
login \- sign on
.SH SYNOPSIS
.B login
.SH DESCRIPTION
The
.I login
.SH DESCRIPTION
The
.I login
more generally the name of the command interpreter with
a leading dash (\*(lq\-\*(rq) prepended.
.PP
more generally the name of the command interpreter with
a leading dash (\*(lq\-\*(rq) prepended.
.PP
-Login also initializes the
environment
.IR environ (7)
with information specifying home directory, command interpreter, terminal
type (if available) and user name.
environment
.IR environ (7)
with information specifying home directory, command interpreter, terminal
type (if available) and user name.
+The `-p' argument causes the environment to be preserved from getty.
.PP
If the file /etc/nologin exists
.I login
.PP
If the file /etc/nologin exists
.I login
/etc/nologin stops logins
.br
\&.hushlogin makes login quieter
/etc/nologin stops logins
.br
\&.hushlogin makes login quieter
-.br
-/etc/securetty lists ttys that root may log in on
.SH "SEE ALSO"
init(8), getty(8), mail(1), passwd(1), passwd(5), environ(7),
shutdown(8)
.SH "SEE ALSO"
init(8), getty(8), mail(1), passwd(1), passwd(5), environ(7),
shutdown(8)