[LUGOS-PROG] /etc/passwd & apache

Jure Pecar pegasus at telemach.net
Sun Nov 18 18:44:07 CET 2001


On Sun, 18 Nov 2001 18:40:25 +0100
"Luka Grah" <lgrah at email.si> wrote:

> Aloha!
> 
> Napisal sem web aplikacijo v perlu, ki za avtentikacijo uporablja
> apache-jovo zgodbo (htpasswd). Ker to applikacijo uporablja vec kot 100
> uporabnikov, ki imajo  tudi unix accounte, je vzdrzevanje dvojnih gesel
> "pain in the ass". Kako bi poenotil uporabniska imena in preprical apache,
> da uporablja /etc/passwd.
> 

Najbolj splosna varjanta je prenesti accounte v en za to namenjen servis, npr. LDAP. Tja nasopas notr posixAccount-e, pa mas lahko pol sistemske accounte iz LDAPa, pa tut za apacheja iirc obstaja auth_ldap modul.
Ampak verjetno bi ti laze prisel cez s kako shell/perl/whatever skriptico, ki bi te resevala dvojnega dela.

-- 


Pegasus


Unfortunatly, SMTP email is anything but a small set of problems.  Quite the opposite: it's a tarpit of bureaucratic standards committees, arrogant implementors, impatient administrators and whiny end-users.




More information about the lugos-prog mailing list