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

Re: alternate passwd file



On Fri, Oct 27, 2000 at 03:12:09PM -0700, Sam Clegg wrote:
> I am writing a linux application that requires users to be
> authenticated, but these users are completey independant of
> the users of my system (i.e. shell/pop access).
> 
> Having read all the documentation for PAM it seems that there
> is no module that supports user athentication from a file other
> than /etc/{passwd|shadow}.
> (Actually the berkeley db module does this but I don't know how
> easy db files are to manipulate.)
> 
> I want athentication from /var/myapp.pwd  A bit like apache's 
> .htpasswd files.
> 
> Is this not an appropriate use of PAM?  Am I missing something 
> obvious? 
> 

you looking for the pam_pwdfile.so module.  it uses the same sort of
password file as htaccess.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp00001.pgp
Description: PGP signature


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