Messaging users who are logged on ...

Net Llama! netllama
Wed Jan 4 11:12:04 PST 2006


On Wed, 4 Jan 2006, Roger Oberholtzer wrote:
> On Wed, 2006-01-04 at 07:57 -0600, Ben Duncan wrote:
> > Ok, this deals with an AIX box, but the script should run for/on
> > my LINUX users as well.
> >
> > I need to "interrupt" telnet users with a message.
> > This means, saving their screen, writing a message, having
> > them acknowledge it somehow and the resuming their screen
> > image.
> >
> > I can pretty much get to the point where I have all the user ID's
> > and pts/x 's in a list in the script, now which "write" command can
> > do that ?
>
> The 'talk' program?

there's also "wall" if you just want to broadcast the same message to
everyone on the box.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org


More information about the Linux-users mailing list