MLUG: Re: [MLUG] sending messages to other terminals
Re: [MLUG] sending messages to other terminals
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Try doing echo How are you doing > /dev/pts/9
from a normal user account.

On Tue, 5 Aug 2003, Stephen Montgomery-Smith wrote:

> Some of you may know that if two people are logged onto the same unix computer,
> then they can send messages to each other using the "write" command.  If you
> don't like all these messages, you can switch off this capability using the
> "mesg n" command.
>
> What I just found out is that this "mesg n" is purely an advisory state, and
> that "write" simply checks to see if a user wishes to receive messages, and only
> sends them if he/she wants them.
>
> But you can easily override this.  Type "who" and you get stuff like
>
> stephen  pts/14       Aug  5 08:58 (xxxxxxxxxxx)
> mxxx     pts/9        Aug  1 09:07 (xxxxxxxxxxx)
>
> You want to write to mxxx?  Just type
>
> echo How are you doing > /dev/pts/9
>
> If you really want to mess him/her up, type
>
> ls -lR / > /dev/pts/9
>
>
> --
> Stephen Montgomery-Smith
> EMAIL:PROTECTED
> http://www.math.missouri.edu/~stephen
>
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
>
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members