LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-29-2005, 12:48 AM   #1
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Apache and shadow password file

Is it possible to have Apache user the local shadow password file to authenticate users for access to the web server over ssl? I have SSL working along with WebDav, but I want to over the management overhead of using .htaccess files and let the OS handle the authentication. Any ideas?
Old 07-29-2005, 12:36 PM   #2
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Yes, that is possible. But rather than accessing it directly I'd strongly suggest using a module that utilizes pam. There are several out there. For instance here:
Old 07-31-2005, 06:49 PM   #3
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Original Poster
Rep: Reputation: 30
Thank you for the reply. I may need to use that in the near future. I am trying to move all of my authentication to LDAP, but its proving a long, hard process to get it working ( pam_ldap isnt' supplying credentials to LDAP correctly. However, I have Apache working with LDAP authentication, so it is a start.

Thanks again!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 05:25 AM
useradd without shadow password twallstr Linux - Software 1 09-08-2005 02:14 PM
/etc/shadow password field amfoster Linux - Security 2 08-24-2004 11:39 AM
Shadow password encryption mnisski Linux - General 3 05-28-2004 06:24 PM
shadow password wincrk Linux - Security 3 03-16-2003 09:07 PM

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration