[pmwiki-users] userAuth and unix passwd file

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 9 12:53:02 CDT 2005


On Tue, Jun 07, 2005 at 06:16:45PM +0200, Masschelein Bart wrote:
>    Hello,
>     
>    I've installed the latest version of the PmWiki on the intranet of my
>    work, to be used among several users of several groups. I want to use the
>    userauth plug in, to to authentication. Is the only way to use this by
>    having the users enter their email addres and preferred username, and then
>    the admin has to send a pwd? Is there a way to link the unix passwd file
>    with the .passwd file required by PnWiki? Like this I don't have to give
>    everybody a new password. My guess is that it is not possible, as you have
>    to set the permission (read, edit, etc) as well. Any clues?

PmWiki's built-in authentication system can do what you want, *provided*
there's some way for PmWiki to be able to get read access to the
encrypted unix passwords.  Most modern unix systems store the passwords
in /etc/shadow or somewhere that makes it difficult for a web script
to be able to access them.  But if they're available somewhere, it's 
fairly simple to get PmWiki to use the unix passwords (and I'll be
happy to write the code to set that up).

Pm



More information about the pmwiki-users mailing list