apache mod_auth_pam
Good Day,
I installed the module auth of the apache httpd.conf Code:
LoadModule auth_pam_module modules/mod_auth_pam.so Code:
<Directory /home/httpd/html> /etc/pam.d/httpd Code:
#%PAM-1.0 When it asks for login, happens this error: Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. /var/log/httpd/errors Code:
[Thu Sep 08 10:03:49 2005] [error] [client 192.168.254.4] PAM: user 'stomach' - not authenticated: Authentication failure |
help please:cry:
|
It may be related to this.
|
I looked at is page, but I did not understand. It does not have as to make this?
|
If you use shadow passwords and apache cannot read the shadow file, then apache cannot authenticate users.
|
Then it does not have advantage to use this module
|
Why not? How else would you perform pam auth?
|
I do not go to have problems, modifying the group of shadow?
|
If shadow is, as it defaults to, 600 permissions owned by root:root, then apache would need to run as root to authenticate against the shadow file.
|
Thanks!
it functioned perfectly! :) it forgives my English is bad |
I'm glad you were able to get it working. :)
Your english is not too bad, and I understand that we're a global community, not confined to any singular land or language. |
Ok thanks! I go to start to participate more, of this great community! Perhaps I go to change my user, for my true name. Thus it is more easy for the people to understand me.
|
Yes, it is a great community. :) We all have much to learn and much to share.
|
All times are GMT -5. The time now is 09:23 AM. |