Re: [gdm-list] session and 'sudo' code



Hi,

On Thu, Aug 4, 2011 at 1:04 PM, † <govnototalitarizm gmail com> wrote:
> Hello.
>
> I've got 2 (related) questions about GDM's interaction with session.
> Usually GDM runs under dedicated user (like 'Debian-gdm' for example).
>
> a) How can we set some environment variables from greeter program (spawned by GDM) so
> they will be available in the user's session after logon?
>
> b) More general - what's the best way to execute some code in greeter with different
> (preferably root) privileges?
Normally you'd have a PAM module do this for you.

Can you give more details about what you're trying to do though?

--Ray


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