Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-01-2006, 12:03 AM
|
#1
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Rep:
|
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.
|
|
|
05-01-2006, 06:11 PM
|
#2
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
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" 
|
|
|
05-02-2006, 12:00 AM
|
#3
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
Hi,
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..
|
|
|
05-02-2006, 01:51 AM
|
#4
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
Cpanel is a bit more in-grained into the OS thn most, and /etc/passwd is okay I was exaggerating, /etc/shadow is pretty important though.
PAM is an authentication system, I can't explain it any better than this page can 
|
|
|
05-06-2006, 12:51 AM
|
#5
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
Hi,
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
|
|
|
All times are GMT -5. The time now is 11:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|