Bug 60 - in.rexecd doesn't work with PAM securetty authentication
in.rexecd doesn't work with PAM securetty authentication
Product: Red Hat Linux
Classification: Retired
Component: rsh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 1998-11-12 13:53 EST by dudek
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-03-26 18:49:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dudek 1998-11-12 13:53:42 EST
As shipped, in.rexecd is disabled in /etc/inetd.conf.  If
you enable it, rexec will still not work because
/etc/pam.d/rexec tries to authenticate using securetty PAM
authentication (as it should), but in.rexecd does not set
the PAM_TTY item.  I believe this bug exists in RedHat 5.2
as well.  The fix is to add a call to:

(void) pam_set_item (pamh, PAM_TTY, "tty");

just before calling pam_authenticate.
Comment 1 Jeff Johnson 1999-03-26 18:49:59 EST
Should be fixed in rsh-0.10-23.

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