[EMAIL PROTECTED] (Reinhard Katzmann) writes:

> I have used the 7.1 version of gdm and just recently installed
> the new version from cooker, together with an update of pwdb
> and pam, since gdm needed the -devel packages of these.
> 
> After that I was (and still somehow am) unable to login.
> I searched several hours in the source code and then found
> what might be the problem:
> 
> 1) If I change my .Xauthority file to world writeable I can log
>    in (this is not what I want though). I can not login even
>    if I add the group of this group to the gdm user, so probably,=20
>    its not a group related security problem.
> 
> 2) The problem is in the file daemon/auth.c, in the gdm_auth_purge
>    function. I have added several ouput messages (debug option seems
>    not to work with gdm.. at least not the same way as xdm), to find
>    it out (original file line 367):
> 
>     gdm_error( _("freopen...\n"));
>     af =3D freopen (d->userauth, "w", af);
> 
>     if (!af) {
>       XauUnlockAuth (d->userauth);
>       gdm_error( _("af could not be opened...\n"));
>       return;
>     }
> 
>    The first message appears in the log file, the second does not.
>    XauLockAuth locks the .Xauthority and creates two additional
>    files. Both of these are created in my home dir, but only with
>    0 (zero) size. XauUnlockAuth seems to fail and either gdm
>    crashes here or it simply ends (I don't know how to determine
>    this).
> 

I cannot reproduce the bug. I'll do further research, but it seems strange.
-- 
dam's

Reply via email to