[sudo-commits] sudo changeset 10227:54a60fe72b9a
Todd C. Miller
Todd.Miller at courtesan.com
Fri Sep 25 11:19:33 MDT 2015
changeset: 10227:54a60fe72b9a in /media/repos/sudo
details: http://www.sudo.ws/repos/sudo/rev/54a60fe72b9a
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Sep 25 11:15:22 2015 -0600
Log Message:
If some, but not all, of the LOGNAME, USER or USERNAME environment
variables have been preserved from the invoking user's environment,
sudo will now use the preserved value to set the remaining variables
instead of using the runas user. This ensures that if, for example,
only LOGNAME is present in the env_keep list, that sudo will not
set USER and USERNAME to the runas user.
diffstat:
NEWS | 7 +++++++
plugins/sudoers/env.c | 34 ++++++++++++++++++++++++++++------
2 files changed, 35 insertions(+), 6 deletions(-)
More information about the sudo-commits
mailing list