Gentoo Archives: gentoo-user

From: Dorin Scutarasu <dorin.scutarasu@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Who sets the USER environment variable?
Date: Thu, 22 Nov 2007 15:55:59
Message-Id: loom.20071122T152510-899@post.gmane.org
1 Hi all,
2
3 I wonder if querying the USER env variable is a reliable way to get the login
4 name of the user who started an application, on all authentication methods -
5 passwd, NIS or LDAP based authentication.
6
7 So who sets this variable? is it PAM? is it some login script?
8
9 Best Regards,
10 Dorin Scutarasu
11
12 --
13 gentoo-user@g.o mailing list