applications working on uid 0



Hello,...

...the main problem is the execution of program code suppoesed to processed in uid 0 - system is Linux

The fact: I tried to handle the events in /proc/acpi/events by my own application which integrates gtk handled display interaction.

Because /proc/acpi/events is gid=0 (root) i would have to change the gid of that file, or set the suid bit of an (gtk)executable owned by root.


Btw. for me it's also strange, still more a problem, to pop up a window on a Display not owned by myself.

It may be done by getting the ownder of the display, and merging the .Xauthority (keys ever new produced by gdm - why!?), if arrangeable to read.


Some help may be fine...


greets
chabayo


___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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