Re: [gdm-list] using gdm with pam_mkhomedir



Hello


  Sorry i am not next to my RHEL5 box, but on my F& box with gdmsetup i
see a option under "Security" page - "Only allow login if user owns
their home directory". let me know, if this helps .



On Fri, 2007-07-06 at 16:35 -0400, James Bardin wrote:
> Hello,
> 
> I'm unable to get gdm working with pam_mkhomedir. The real problem is 
> that gdm fails before we get to pam_mkhomedir, it seems -- due to lack 
> of a home directory.
> 
> Here is the gdm log output:
> gdm[6160]: pam_krb5[6160]: authentication succeeds for 'testuser' 
> (testuser bu edu)
> gdm[6160]: Sending QUERYLOGIN == <secret> for slave 6160
> gdm[5719]: Handling message: 'QUERYLOGIN 6160 testuser'
> gdm[5719]: Got QUERYLOGIN testuser
> gdm[6160]: Couldn't open session for testuser
> gdm[6160]: writing failed session attempt record
> gdm[6160]: using username testuser
> gdm[6160]: using id
> gdm[6160]: using line :0
> gdm[6160]: using time 1183751066
> gdm[6160]: using type USER_PROCESS
> gdm[6160]: using pid 6160
> gdm[6160]: writing failed session attempt record to /var/log/btmp
> gdm[6160]: gdm_slave_wait_for_login: end verify for ''
> gdm[6160]: gdm_slave_wait_for_login: No login/Bad login
> gdm[6160]: gdm_slave_wait_for_login: In loop
> 
> console and ssh login both work fine. If I login via the console first, 
> the home directory is created, then gdm logins will work. I tried using  
> gdm/PostLogin, but it doesn't get that far either.
> 
> This is on CentOS5, i386 and x86_64
> 
> Thanks
> -jim
> 
> 
> 
> _______________________________________________
> gdm-list mailing list
> gdm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gdm-list
-- 
Ritesh Khadgaray
ॐ मणि पद्मे हूँ
LinuX N Stuff
Ph: +919970164885
Eat Right, Exercise, Die Anyway.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



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