How to make Lighttpd Web Server to use /etc/shadow file
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to make Lighttpd Web Server to use /etc/shadow file
Hi,
I am running lighttpd web server, now I need to secure the application by using mod_auth for lighttpd. I did that and Lighttpd runs fine with htpasswd style files, But now my client want me to use /etc/shadow password file for authentication. But Lighty is not picking the Password from this file.
Please any help me , tell me how to configure Lighttpd to use /etc/passwd or /etc/shadow for user authentication.
Third party programs should never access those files, repeat after me...
For lighttpd to do authentication that way you'll want it to talk to PAM. I've only just played with lighttpd so maybe look at the docs or Google "lighttpd pam"
I repeat ... Third party programs should never access those files
But I saw that Cpanel make use of it ... It allow login using System login account only... Maybe they have make a patch for it...
Can you tell me more about PAM what it is...I didn't understand what exactly PAM is..
Thanks for your reply, I found PAM a useful stuff, but unable to use it, and my client is ready to leave Shadow authentication...) So, I don't need it for now as well...
But I will try it out some day....
Thanks a Lot for referring such a piece of software
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.