Bug 29193

Summary: [PATCH] /usr/bin/login.c doesn´t save variables from pam_open_session
Product: Base System Reporter: Volker Stolz <vs>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: vs
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Volker Stolz 2001-07-24 17:30:00 UTC
	The recent changes to login.c still don´t take care of variables set by pam_open_session.
	The pam-environment is copied too early. However, you will only note the differences if
	you´re using pam extensively, e.g. /usr/ports/security/pam_ssh. [The default pam_ssh
	plugin in the base system seems to be a NOP]

How-To-Repeat: 	Install /usr/ports/security/pam_ssh, setup /etc/pam.conf (take care, the port installs
	the plugin in /usr/*local*/lib!). You won´t get the SSH-variables set after logging in
	on the console until you apply the patch.
Comment 1 stolz 2001-07-24 17:44:30 UTC
*sigh* Make that stolz@i2 in the email address.
-- 
"I came out of it dead broke, without a house, without anything, except
a girlfriend and a knowledge of Unix." "Well, that´s something. Normally
those two are mutually exclusive." N. Stephenson, "Cryptonomicon"
Comment 2 stolz 2001-08-18 17:08:55 UTC
This PR can be closed

Reason: Patch has been applied to CVS recently.
Comment 3 Mike Heffner freebsd_committer freebsd_triage 2001-08-18 17:16:17 UTC
State Changed
From-To: open->closed

Fixed in src/usr.bin/login/login.c,v 1.65.