Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 60 - in.rexecd doesn't work with PAM securetty authentication
Summary: in.rexecd doesn't work with PAM securetty authentication
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rsh
Version: 5.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1998-11-12 18:53 UTC by dudek
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-03-26 23:49:23 UTC

Attachments (Terms of Use)

Description dudek 1998-11-12 18:53:42 UTC
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 23:49:59 UTC
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.