commit 1988901b7df40fb70eb7e39ac8cfe5e4f4cc7fa7
parent 6f7995b65aa51daf168eaff7015fe379f2a43bd6
Author: sin <sin@2f30.org>
Date: Mon, 2 Jun 2014 16:41:07 +0100
Add login(1) manpage
Diffstat:
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git 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
@@ -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.