x11/gnome-screensaver-2.22.1 is not unlocking screen on entry
of correct password.
Ashish Shukla आशीष शुक्ल
wahjava.ml at gmail.com
Tue Apr 8 13:15:17 UTC 2008
>>>>> "Joe" == Joe Marcus Clarke <marcus at marcuscom.com> writes:
[snipped]
Joe> The setuid privileges are dropped once initialization is done since GTK+
Joe> apps cannot run set[ug]id. If they could, or if gnome-screesaver-dialog
Joe> was not a GTK+ app, this wouldn't be a problem.
Thanks for the explanation, but I've a little doubt here, I saw
implementation of gtk_init_with_args()[1]. So I also noticed that it
checks for calling process to be set{uid,gid} and terminates if it is.
So, even if application drops superuser privileges before
gtk_init_with_args(), then how is it be able to access
/etc/passwd.master ?
References:
[1] - http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/gtkmain.c?revision=19481&view=markup
TIA
--
Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080408/0be86ed4/attachment.pgp
More information about the freebsd-gnome
mailing list