[PATCH]: use system passwords with httpd

Pascal Bellard pascal.bellard at ads-lu.com
Sun Nov 6 09:08:21 UTC 2011


In httpd.conf, users and passwds are stored with way: '/path:user:password'
The following patch add '/path:user:*' to look for password in /etc/passwd
and '/path:*:*' to allow any user account with a password.

http://hg.slitaz.org/wok-undigest/raw-file/5545842dea8c/busybox/stuff/busybox-1.19-httpd.u

The code is enabled by HTTPD_AUTH_MD5 feature.
Both PAM and shadow passwords are supported.

-pascal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.19-httpd.u
Type: application/octet-stream
Size: 5823 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20111106/4e3f335c/attachment-0001.obj>


More information about the busybox mailing list