LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   pwauth is not working properly under Apache (https://www.linuxquestions.org/questions/linux-server-73/pwauth-is-not-working-properly-under-apache-852702/)

bombshell 12-27-2010 06:15 PM

pwauth is not working properly under Apache
 
I have http://code.google.com/p/pwauth/ downloaded and compiled and installed at /usr/local/libexec/pwauth. I have tested in CLI in a regular account and it excuted successfully but when it comes getting it to work under Apache. It just exits with status code 1 which including to the documentation indicates STATUS_UKNOWN.

PHP Code:

exec'echo -e \'bombshell\nhu4_=_Usw*masaz\' | /usr/local/libexec/pwauth' $output $return );

var_dump$return ); 

Code:

echo -e 'bombshell\nhu4_=_Usw*masaz' | /usr/local/libexec/pwauth
I notice even when I 'su apache', the command still fails without any reason. I've reviewed every log that might show errors but non are informative.

My purpose is get MediaWiki to authenticate via System users using this extension: http://www.mediawiki.org/wiki/Extension:PwAuthPlugin.

Any ideas, anything I might be missing? I've been google'in for alternatives but I can't find what I need for my particular setup.


All times are GMT -5. The time now is 05:40 PM.