Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* rexec solution found
@ 1998-11-01 20:47 Reid van Melle
  0 siblings, 0 replies; only message in thread
From: Reid van Melle @ 1998-11-01 20:47 UTC (permalink / raw)
  To: axp-list


	I consulted with some PAM people and the solution seems to be:

> I've made a brief look on pam_securetty module and found
> that it returns PAM_SERVICE_ERR if it fails to determine the controlling
> terminal.  As far as I remember rexec doesn't establish a preudoterminal
> for the executed commands so pam_securetty should always fail for rexec.
>
> I suggest to just remove the pam_securetty reference from the
> configuration file.

a working /etc/pam.d/rexec is then:
**********
#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so debug shadow nullok
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_pwdb.so
**********

	I guess this should be the default for rexec in the RedHat
distribution of pam.  It works great for me now.  Should this be something
that goes into the RedHat general errata?

				Reid van Melle


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-01 21:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-01 20:47 rexec solution found Reid van Melle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox