pam_mkhomedir causes segmentation fault after su

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have RHEL 3.0 AS with ldap configured to authenticate and
pam_mkhomedir in /etc/pam.d/system-auth to create home directories if
they don't exist. Everything works fine, except when I su, which causes
segmentation fault.

Removing the pam_mkhomedir line in /etc/pam.d/system-auth fixes the su
problem, but of course I need that to make home directories.


[ed@wrk ed]$ ssh eds@ccdc
eds@ccdc's password:
Creating directory '/home/eds'.
Creating directory '/home/eds/.kde'.
Creating directory '/home/eds/.kde/Autostart'.
/usr/X11R6/bin/xauth:  creating new authority file /home/eds/.Xauthority

// Yeah it works! But...

[eds@ccdc ~]$ su
Password:
Segmentation fault


/var/log/messages
Feb 10 11:28:51 ccdc su(pam_unix)[8750]: session opened for user root by
eds(uid=7365)
Feb 10 11:28:51 ccdc su(pam_unix)[8750]: session closed for user root


/etc/pam.d/system-auth
session     required      pam_mkhomedir.so skel=/etc/skel/ umask=0077


-- 
Ed Sponsler, Caltech Library System
eds@xxxxxxxxxxxxxxxxxxx
http://coda.caltech.edu

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux