Hi!
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,
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 = 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).
Any help to a solution to this problem are welcome. I have default
msec level 3, pam-0.73-6mdk, pwdb-0.61-3mdk and msec-0.14-6mdk.
Best regards,
Reinhard Katzmann
--
E-Mail: [EMAIL PROTECTED]
Current Projects: Linux-Installation Mandrake 7.1 (93% finished)
Java-DB and -Interface for Pincity (92 % finished)
GnuPG Public Key available on request.
PGP signature