diff --git a/Makefile b/Makefile index fe87548..e55d770 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,7 @@ MAN1 = \ fallocate.1 \ free.1 \ id.1 \ + login.1 \ mknod.1 \ mountpoint.1 \ pagesize.1 \ diff --git a/login.1 b/login.1 new file mode 100644 index 0000000..e69f692 --- /dev/null +++ b/login.1 @@ -0,0 +1,16 @@ +.TH LOGIN 1 ubase-VERSION +.SH NAME +\fBlogin\fR - Log into the system +.SH SYNOPSIS +\fBlogin\fR [\fB-p\fR] \fIuser\fR +.SH DESCRIPTION +\fBlogin\fR logs the \fIuser\fR into the system. It sets \fBHOME\fR, +\fBSHELL\fR, \fBUSER\fR, \fBLOGNAME\fR and the \fBPATH\fR environment +variables and invokes the login shell as specified in \fI/etc/passwd\fR. +.SH OPTIONS +.TP +\fB-p\fR +Preserve the environment. +.SH BUGS +.TP +There is no support for shadow files.