summaryrefslogtreecommitdiffstats
path: root/login-utils/login.1
diff options
context:
space:
mode:
authorDave Reisner2012-03-11 05:54:14 +0100
committerKarel Zak2012-03-13 12:24:25 +0100
commitfed52fd5ca5d42fcc0c60532e84f7159b22237ea (patch)
tree42f37644d29f087daf4bd7ec357f6b9cf16edabf /login-utils/login.1
parentlsblk: RQ-SIZE is part of the --topology output (man page bugfix) (diff)
downloadkernel-qcow2-util-linux-fed52fd5ca5d42fcc0c60532e84f7159b22237ea.tar.gz
kernel-qcow2-util-linux-fed52fd5ca5d42fcc0c60532e84f7159b22237ea.tar.xz
kernel-qcow2-util-linux-fed52fd5ca5d42fcc0c60532e84f7159b22237ea.zip
login: add USER to initial environment
Add this value from the passwd struct to the environment, as it is expected by shells, and generally useful to users. This also clarifies a poorly worded sentence in the vicinity of the manpage change. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'login-utils/login.1')
-rw-r--r--login-utils/login.15
1 files changed, 3 insertions, 2 deletions
diff --git a/login-utils/login.1 b/login-utils/login.1
index 26cd951ac..cb8024100 100644
--- a/login-utils/login.1
+++ b/login-utils/login.1
@@ -40,10 +40,11 @@ for more information.
The user and group ID will be set according to their values in the
.I /etc/passwd
file. There is one exception if the user ID is zero: in this case,
-only the primary group ID of the account is set. This should prevent
-that the system adminitrator cannot login in case of network problems.
+only the primary group ID of the account is set. This should allow
+the system adminitrator to login even in case of network problems.
The value for
.BR $HOME ,
+.BR $USER ,
.BR $SHELL ,
.BR $PATH ,
.BR $LOGNAME ,