Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 42880

Summary: RFE: remotehost and remoteuser variable
Product: [Retired] Red Hat Linux Reporter: Michael Redinger <michael.redinger>
Component: rshAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-22 13:37:15 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:
Attachments:
Description Flags
REMOTEHOST and REMOTEUSER patch for rshd and rlogind none

Description Michael Redinger 2001-05-30 16:46:23 UTC
I tried to use pam_env to set the REMOTEHOST (PAM_RHOST) and REMOTEUSER 
(PAM_RUSER)  variables - one of the best things of Irix ... ;)

However: REMOTEHOST doesn't work for rsh (but for rlogin), REMOTEUSER 
never works.
I had a look at the netkit-rsh source and found that this wasn't set 
there ...

My patch automatically sets the REMOTEUSER and a REMOTEHOST variables.
(I maybe should have a look at rexec, too - don't know that protocol,
don't know if the user is given as parameter when connecting).

Comment 1 Michael Redinger 2001-05-30 16:49:40 UTC
Created attachment 19972 [details]
REMOTEHOST and REMOTEUSER patch for rshd and rlogind

Comment 2 Michael Redinger 2001-06-16 16:02:05 UTC
It was just the other way round ... REMOTEHOST worked for rlogin, not for rsh.

Comment 3 Phil Knirsch 2001-10-22 13:37:11 UTC
*** Bug 16170 has been marked as a duplicate of this bug. ***

Comment 4 Phil Knirsch 2002-01-30 12:41:40 UTC
Included in 0.17-6, available via rawhide real soon now...

Read ya, Phil