Re: NNTPC: AUTHINFO help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 7 Feb 2001, Gavin Hamill wrote:

> 
> On Thu, 8 Feb 2001, Peter Tonoli wrote:
> 
> > Hello,
> > 
> > On Fri, 26 Jan 2001, Gavin Hamill wrote:
> > 
> > > *                       *               read,auth=user/pass;passwd
> 
> > Are you using MD5 passwords or plain DES passwords? (not that this should
> > be a problem).
> 
> > Tried using the PAM support? Same result? The PAM support for NNTPCache
> > was developed under Debian 2.1.
> 
> I've never really had any truck with PAM.. I generally try to use MySQL
> auth whenever possible... makes it a lot easier to manage :) 
>  
> What I'm saying is - I have no idea how to use PAM.

I had a file in my development tree, however I'm not sure if it was
included in the world distribution, here it is.. (hopefully for includsion
in the next release!)

/*********************************************************
README.pam

Redhat users will need something similar to:

 nntpcache   auth       required     pam_unix_auth.so
 nntpcache   account    required     pam_unix_acct.so

in their /etc/pam.conf file.

Debian users require something similar to

 auth     required       pam_unix.so
 account  required       pam_unix.so
 password required       pam_unix.so
 session  required       pam_unix.so

in their /etc/pam.d/nntpcache file (or whatever you've set it to in the nntpcache config file). Since the Debian PAM authentication modules require the requesting application to be root/in group shadow, you have three choices:
	* tell nntpcache to run as root ("user root" in nntpcache.config), 
	* use the suid pipe authenticator. i.e
                  auth=user/passwd;pipe
	  with default pipe authenticator, "unixauth". See "pipeProgram" in
	  nntpcache.config, for more details.
	* not use shadowing, and build your own PAM authentication modules

PCT. 28/5/00 
******************************************************/

Cheers,
Peter.
--
Until I loved, life had no beauty;
I did not know I lived until I had loved. (Theodor Korner)



[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux