Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 150204 Details for
Bug 218292
PAM is acting strange and refusing to authenticate properly for Apache in mod_authn_pam
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The are the results of the testing code
pam-test-results (text/plain), 2.08 KB, created by
Tres 'RiverRat' Melton
on 2008-04-18 17:31:21 UTC
(
hide
)
Description:
The are the results of the testing code
Filename:
MIME Type:
Creator:
Tres 'RiverRat' Melton
Created:
2008-04-18 17:31:21 UTC
Size:
2.08 KB
patch
obsolete
>================================================================ >$> ls -l /etc/pam.d/check_user >---------------------------------------------------------------- >-rw-r--r-- 1 root root 72 Apr 17 14:00 /etc/pam.d/check_user >================================================================ >$> cat /etc/pam.d/check_user > (PAM service name is "check_user" confirmed as hardwired in the source.) >---------------------------------------------------------------- >auth required pam_unix.so >account required pam_unix.so >================================================================ >Preparation: >---------------------------------------------------------------- >$> gcc -lpam -lpam_misc pam-tester.c -o pam-tester >$> cp pam-tester pam-tester-root >$> cp pam-tester pam-tester-apache >$> cp pam-tester pam-tester-tres >$> sudo chown tres:tres pam-tester-tres >$> sudo chown apache:apache pam-tester-apache >$> sudo chown root:root pam-tester-root >$> sudo chmod +s pam-tester-tres pam-tester-apache pam-tester-root >================================================================ >Testing results as various users: >(all tests were to authenticate me, tres, initiated as: >$> $EXEC tres >where EXEC is defined below along with the results) >---------------------------------------------------------------- >tres (me, the person who I'm trying to authenticate) > pam-tester Authenticated > pam-tester-root Authenticated > pam-tester-apache Authenticated > pam-tester-tres Authenticated > >$> sudo -u doc /bin/bash (an arbitrary disinterested user) > pam-tester Not Authenticated > pam-tester-root Authenticated > pam-tester-apache Not Authenticated > pam-tester-tres Not Authenticated > >$> sudo -u root /bin/bash (the user that it should always work as) > pam-tester Authenticated > pam-tester-root Authenticated > pam-tester-apache Authenticated > pam-tester-tres Authenticated > >$> sudo -u apache /bin/bash (the user it needs to work as) > pam-tester Not Authenticated > pam-tester-root Authenticated > pam-tester-apache Not Authenticated > pam-tester-tres Not Authenticated >================================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 218292
:
150202
| 150204