PAM conversation stuff

Nicolas Williams Nicolas.Williams at ubsw.com
Sat Oct 27 00:25:18 EST 2001


On Fri, Oct 26, 2001 at 09:07:35AM -0500, mouring at etoh.eviladmin.org wrote:
> 
> For non-interactive connections it should *NEVER* attempt a password
> change, but it should notify the user for the reason of failure to
> connect.

Right. Alternatively, pam_chauthtok() can be called, and it can be left
to the conversation function to return an error to the modules'
pam_sm_chauthtok()s, causing pam_chauthtok() to fail.

> The problem is people wanted to have some PAM modules for setting limits,
> etc apply to non-interactive session.  Which works fine under Linux, but
> failure utterly under Solaris.

PAM_UNIX on Solaris was failing, not PAM as a whole. And there's a
simple workaround, namely to supply a bogus TTY when there is none.

> Moffat, there is a 'compatibility-a-thon' occuring soon.. Maybe there
> should be a 'PAM' booth to get Linux, Sun, HP, etc all on the same page.
> <grin>

Oh yes, absolutely. There's too much divergence now between the three,
and XSSO is underspecified. And PAM needs improvements anyways.

> - Ben
> 

Cheers,

Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list