Posted by Daniel Tryba on 05/16/05 19:45
joltman <joltman@geocities.com> wrote:
> We're working on an intranet site where we will require user's to only
> be able to access their own page in some instances. Rather than
> introducing another password to the mix, we were thinking about seeing
> if we could use the same credentials (username and password) as their
> linux credentials. The web site will be running off of the same machine
> that we want to access the credentials on.
It's possible but like others have already stated: potenitally dangerous
since apache needs to be able to read the password files (/etc/shadow in
most cases). So use with care: http://pam.sourceforge.net/mod_auth_pam/
Navigation:
[Reply to this message]
|