On Tue, 8 Jul 2008 13:18:32 +0530
Raj Mathur <[EMAIL PROTECTED]> wrote:

> On Tuesday 08 Jul 2008, Shamail Tayyab wrote:
> > Navjot Kukreja wrote:
> > > Hi
> > > I'm logged into a machine from SSH and want to send a message to
> > > the user who is using it locally on GUI on display :0. i tried
> > > xmessage but i couldnt make it send messages to another display.
> > > Does anyone know a way? -Navjot Kukreja
> >
> > Give xhost +
> > as root, or as the user logged in on Display :0
> > Then from the ssh terminal, use xmessage. It'll work.
> 
> Argh, please don't suggest such blatant violations of security on a 
> mailing list!  xhost + will just open up the system for exploits, 
> viruses and trojans.
[...]

Yup. At best, this could be a "xhost +localhost", but even that
depends on how much you trust your users.

Regards,
Gora

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to