Re: OT: Secure (?) way of displaying a popup window
On Tuesday 22 July 2003 19:21, Joerg Johannes wrote:
> Now my problem is: Usually only I have the right to display a new window
> on my screen, not any daemon user, no normal user and and certainly not
> root. Any pointers how to do that?
Suppose you know the user which is running the xserver (=$XUSER).
Then you can use the following as privileged user:
su $XUSER -c 'xmessage hello'
You can also use 'sudo' to allow this for an unprivileged user...
But how to get $XUSER?