Debian has patches for just about every package. However, its patchset for GDM is very useful. It adds a Secure System Menu feature. When turned on, users must enter the root password before they can reboot or shutdown from the GDM greeter. This feature can be turned off at any time. I have seperated the Debian patch into a set of smaller patches, with each patch performing its own function. The original Debian patch had many changes mixed together, and so it was very difficult to edit or understand. I am hoping that some of these patches are merged into the GDM ebuild, especially the one that gives the Secure System Menu, as it is very useful. Reproducible: Always Steps to Reproduce:
Created attachment 42824 [details] GDM patchset
Most of these patches should be really pushed upstream. Verified patches apply (all be it not cleanly) to 2.6.0.7 and 2.6.0.9 currently in portage. The patches I see the most interest in is the one mentioned by the original submiter and a change to the .desktop file to call gnomesu when invoking gdmsetup. This fixes broken functionality as unless your logged in as root, selecting "Login Scren Setup" from the GNOME menu provides an error. Can we get at least these two patches into Gentoo's GDM?
Nobody has volunteered to maintain these patches in our tree, and at this point it seems unlikely we will add them. I don't know the status of them with the upstream developers, but as Dave mentions in comment #2, that's where the interested parties should propose them.