]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: add USER to initial environment
authorDave Reisner <d@falconindy.com>
Sun, 11 Mar 2012 04:54:14 +0000 (23:54 -0500)
committerKarel Zak <kzak@redhat.com>
Thu, 24 May 2012 14:29:01 +0000 (16:29 +0200)
commit57dfde0f59f6e5e119099ddb4020b29c80c710c0
tree2536ae810a33e1e7c6d13ee9017c4d17d42b7093
parent7602286c59200d0526a5606fd77c1a3caa6e2f60
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>
login-utils/login.1
login-utils/login.c