Coda File System

Re: Coda and Debian Linux and PAM

From: Elliot Lee <>
Date: Wed, 11 Nov 1998 16:20:27 -0500 (EST)
On Wed, 11 Nov 1998, Robert Watson wrote:

> > 1) Is there any way to get Coda to do a clog upon login under Linux? 
> > Perhaps this could be accomplished via PAM?
> Due to the nature of the 'Coda Tokens', the auth server must know the
> secret being used by the client (that is, their password) and be able to
> associate it with the user account.  As I understand it, PAM does not have
> an API call that goes: IHaveAUsernameGiveMeTheirSecret(), and in fact the
> standard UNIX model of having one-way-hashed passwords prohibits this.

Correct me if I'm wrong, but what part of:

	char *username, *password;
	pam_get_user(pamhandle, "Log in you bastard", &username);
	pam_get_item(pamhandle, PAM_AUTHTOK, &password);
	auth_server_authenticate(username, password);

Would not work?
-- Elliot
"In film you will find four basic story lines. Man versus man, man
 versus nature, nature versus nature, and dog versus vampire."
    - Steven Spielberg
Received on 1998-11-11 16:40:40