Bug 42880 - RFE: remotehost and remoteuser variable
Summary: RFE: remotehost and remoteuser variable
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rsh
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
: 16170 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-30 16:46 UTC by Michael Redinger
Modified: 2015-03-05 01:09 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-10-22 13:37:15 UTC
Embargoed:


Attachments (Terms of Use)
REMOTEHOST and REMOTEUSER patch for rshd and rlogind (2.23 KB, patch)
2001-05-30 16:49 UTC, Michael Redinger
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.