in reply to Simulating Keystrokes in Solaris/Linux

I guess that's not possible in the general case, due to security concerns.

Imagine an admin who is logged in as a normal user but has an open root shell in a xterm. Every program that he runs the normal user could gain root privileges easily by sending the commands to the open root shell.

BTW Vista had a similar bug, I hope they sorted it out by now...

  • Comment on Re: Simulating Keystrokes in Solaris/Linux