Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 434938

Summary: [PATCH] rshd access pam_env
Product: Red Hat Enterprise Linux 5 Reporter: Adam Stokes <astokes>
Component: rshAssignee: Adam Tkac <atkac>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: kzak, mnowak, ovasik, rvokal, sghosh
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-15 09:57:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 434937    
Bug Blocks:    
Attachments:
Description Flags
read environment variables none

Description Adam Stokes 2008-02-26 13:32:00 UTC
+++ This bug was initially created as a clone of Bug #434937 +++

Description of problem:
rshd is not pulling down environment variables as listed in
/etc/security/pam_env.conf

Version-Release number of selected component (if applicable):
netkit-rsh 0.17.x

How reproducible:
100%

Steps to Reproduce:
1.add env to /etc/security/pam_env.conf
2.rsh <server> env
3.
  
Actual results:
specified environment variables are not set

Expected results:
environment variables set

Additional info:
patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48406

-- Additional comment from astokes on 2008-02-26 08:30 EST --
Created an attachment (id=295902)
read environment variables

Comment 1 Adam Stokes 2008-02-26 13:32:00 UTC
Created attachment 295903 [details]
read environment variables

Comment 2 Adam Tkac 2008-03-10 14:25:18 UTC
Patch looks fine.

Comment 3 Adam Tkac 2008-04-02 12:51:13 UTC
Comment on attachment 295903 [details]
read environment variables

Patch from rawhide (netkit-rsh-0.17-pam_env.patch) should be used instead

Comment 4 RHEL Program Management 2008-07-21 23:06:11 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 11 errata-xmlrpc 2009-04-15 09:57:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0423.html