On 10/14/06, juras256 <[EMAIL PROTECTED]> wrote:
Dan Nicholson napisaĆ(a): > On 10/14/06, juras256 <[EMAIL PROTECTED]> wrote: >> LFS 6.2+BLFS svn in progress... >> >> I have installed Xorg 6.9.0 and xdm seems not to use LinuxPAM. >> No information in logs. No complain without /etc/pam.d/xdm... > > Is there an error message? How do you know it's not using PAM? Is > there any info in /var/log/auth.log?
No info in /var/log/auth.log nor in /var/log/xdm.log. I guess that it does not use PAM because I tried to log a nonexistent user. The login was refused, but no message in any log at all. At first I didn't create /etc/pam.d/xdm. So xdm should refuse login and a lot of messages in /var/log/auth.log should written. I have strict policy in /etc/pam.d/others. That is why I guess it does not use PAM.
I think you're right. It looks like we're missing something crucial in the host.def. I think you need to add #define HasPam to host.def or pam won't get linked in. What's the result of this command (adjusting the prefix to where it's installed)? $ ldd /usr/X11R6/bin/xdm You should at least libpam.so. If not, you're gonna have to rebuild, sorry. It's been a long time since I built Xorg-6, but I think if you still have the sources, you can probably do something like `make -C programs/xdm clean; make Everything' after updating host.def. Not sure there. Could you let me know if adding the missing #define fixes the issue? If so, it'll need to be added to the book. -- Dan
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
