Alexander E. Patrakov wrote:
> DJ Lucas wrote:
>> pam_xauth — PAM module to forward xauth keys between users
> 
> Is it possible to compile it in such a way that it thinks that the "xauth" 
> command exists in the proper place, without actually installing X window 
> system? 
> If this is the case, add the instructions and drop the dependency.
> 

Excellent idea!  Thank you Alexander.  Nothing here that requires it 
other than configure itself, which can be bypassed:
=============================
   case $pam_xauth_path in
   [\\/]* | ?:[\\/]*)
   ac_cv_path_pam_xauth_path="$pam_xauth_path" # Let the user override 
the test with a path.
   ;;
=============================
and then from pam_xauth.c:
=============================
#include <sys/types.h>
#include <sys/fsuid.h>
#include <sys/wait.h>
#include <errno.h>
#include <fnmatch.h>
#include <grp.h>
#include <limits.h>
#include <netdb.h>
#include <pwd.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
=========================

And it works just passing the path...even the test passes without xauth 
present.

-- DJ Lucas

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to