Reply to Re: Authenticate a user using same password as linux password

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация