Messaging users who are logged on ...

Bill Campbell linux-sxs
Wed Jan 4 13:11:40 PST 2006


On Wed, Jan 04, 2006, Net Llama! wrote:
>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.

It's been something like 20 years since I last looked at talk and
wall, but don't the users have to take some action to allow these
to work (or is it that they have to to prevent them from working)?

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Systems, Inc.
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``A Democracy cannot exist as a permanent form of government.  It can only
exist until the voters discover they can vote themselves largesse out of
the public treasury.  From the moment on the majority always votes for the
candidate promising the most benefits from the public treasury with the
result that Democracy always collapses over a loose fiscal policy, always
to be followed by a Dictatorship.''
	Professor Alexander Fraser Tytler.  1801


More information about the Linux-users mailing list