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

Re: Heads up for login managers



On Mon, Feb 12, 2007 at 12:59:29PM -0500, David Zeuthen wrote:
> Repeating my idea 
> 
>  1. Login manager tags the desktop login process with a random cookie

We use a cookie called "uid" and one called "gid". 

>  2. Unprivileged processes cannot read nor write the cookie

We let them read it, but not write it.

>  3. The cookie is inherited by all child processes

Yes.

>  4. Privileged processes, like ConsoleKit daemon, can read the cookie

Yes. When a message is sent via unix domain sockets the cookie is made
available to the recipient solely for checking.

Alan


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