Re: [gdm-list] Why do GDM 2.22.0 set xauth file owner as login user



Hi Simon,

> On GDM 2.22.0, I noticed the owner of X authority file is set as login
> user.
>
> -rw-------    1 gdm      gdm            52 May 21 23:27
> auth-cookie-XX37TRBU-for-gdm
> -rw-------    1 zheng    other          52 May 21 23:28
> auth-cookie-XX5YOJBU-for-zheng
>
> Looking into source, X authority file is forced to set as login user
> when launching Xserver. On older V2.20, it's "root:root". Since Xorg
> process is run as root, why do we need this special setting. Might be I
> miss something. I'm confused where requires this setting. Any answer?
The X authority file is a generated "password" between X clients and
the X server.  It's how the server knows it can trust a client
connecting to it.  The X clients need to be able to read the
"password" so they can authenticate with the server.

Is this causing a problem?

--Ray


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