[gdm-list] gnome-session or gdm shutdown?



I posted a question to gnome-list about this yesterday and have no
responses, so here it is framed a bit differently and it might be a
gdm question after all.  If this should be an a different list please
let me know.

When a user logs out of gnome-session, they get a logout menu offering
to shutdown, reboot, suspend, or just log out.  Can someone point me
to the documentation for how that mechanism works exacly?  It's been a
long time since I wrote C so tracing through source code without even
knowing where to start is a last resort. Obviously a normal user can't
just call shutdown, and I don't think sudo is being used, so what
mechanism is actually calling shutdown, is it something in
gnome-session or gdm (which is why I'm asking gdm-list).

The reason for this question is that we need a way to prevent normal
users from shutting down (this is for multi-user environments, and
users don't have access to the power button, so the gnome-session
logout menu "feature" is the only way they can shutdown maliciously or
accidentally.  And we dont' want to disable the whole logout
confirmation menu with gconf)

Any ideas?
Thanks,
Mike

--
Michael Pardee
1-888-323-1742
Open Sense Solutions LLC
http://opensensesolutions.com



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