]> git.pld-linux.org Git - packages/apache-mod_auth_shadow.git/commitdiff
- updated pl
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Dec 2005 19:17:07 +0000 (19:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't use glob for suid program in files list

Changed files:
    apache-mod_auth_shadow.spec -> 1.9

apache-mod_auth_shadow.spec

index a8405082203b6ecef9adfe315310bef2370ef008..d387cc0f87cd1e1fe7583d94af9260e0682fdb61 100644 (file)
@@ -27,9 +27,9 @@ mod_auth_shadow is an Apache module for authenticating users via an
 /etc/shadow file.
 
 When performing this task one encounters one fundamental difficulty:
-The /etc/shadow file is supposed to be read/writeable only by root.
+the /etc/shadow file is supposed to be read/writeable only by root.
 However, the webserver is supposed to run under a non-root user, such
-as "nobody".
+as "http".
 
 mod_auth_shadow addresses this difficulty by opening a pipe to an suid
 root program, validate, which does the actual validation. When there
@@ -37,7 +37,18 @@ is a failure, validate writes an error message to the system log, and
 waits three seconds before exiting.
 
 %description -l pl
-Modu³ do apache: autoryzacja przez plik /etc/shadow
+mod_auth_shadow to modu³ Apache'a do uwierzytelniania u¿ytkowników
+poprzez plik /etc/shadow.
+
+Przy wykonywaniu tego zadania jest jedna zasadnicza trudno¶æ: plik
+/etc/shadow mo¿e byæ odczytywany/zapisywany tylko przez roota. Jednak
+serwer WWW ma dzia³aæ z prawami u¿ytkownika innego ni¿ root, takiego
+jak "http".
+
+mod_auth_shadow obchodzi ten problem poprzez otwieranie potoku do
+programu z ustawionym atrybutem suid root - validate - wykonuj±cego
+w³a¶ciwe sprawdzanie has³a. W przypadku b³êdu validate zapisuje
+komunikat do loga systemowego i czeka trzy sekundy przed zakoñczeniem.
 
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
@@ -78,4 +89,4 @@ fi
 %doc CHANGES INSTALL README
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*
-%attr(4755,root,root) %{_sbindir}/*
+%attr(4755,root,root) %{_sbindir}/validate
This page took 0.15911 seconds and 4 git commands to generate.