2015-02-02 17:34:26 +00:00
|
|
|
.Dd February 2, 2015
|
|
|
|
.Dt LOGIN 1
|
|
|
|
.Os ubase
|
|
|
|
.Sh NAME
|
|
|
|
.Nm login
|
|
|
|
.Nd log into the system
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl p
|
|
|
|
.Ar username
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
logs the
|
|
|
|
.Ar username
|
|
|
|
into the system. It sets
|
|
|
|
.Ev HOME ,
|
|
|
|
.Ev SHELL ,
|
|
|
|
.Ev USER ,
|
|
|
|
.Ev LOGNAME
|
|
|
|
and the
|
|
|
|
.Ev PATH environment variables and invokes the login shell as specified in
|
|
|
|
.Pa /etc/passwd .
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl p
|
2014-06-02 15:41:07 +00:00
|
|
|
Preserve the environment.
|
2015-02-02 17:34:26 +00:00
|
|
|
.El
|