Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Sending console messages on Users
Date: Mon, 28 May 2007 20:04:00
Message-Id: 200705282054.37450.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Sending console messages on Users by Albert Hopkins
1 On Monday 28 May 2007 20:14, Albert Hopkins wrote:
2 > On Mon, 2007-05-28 at 18:52 +0100, Mick wrote:
3
4 > > What is the way to send a console warning to anyone logged on a machine
5 > > before I reboot it?
6 >
7 > shutdown(8) does this for you. In addition there is wall(1).
8
9 Of course wall! I had forgotten about that. There's also talk to tap others
10 on the shoulder. I assume all these will work if logged onto a server via
11 ssh?
12
13 > > If the user is logged on a console I will only need to send it to the
14 > > console; in addition if the user is running webmin, or phpadmin, then I
15 > > would really like a popup of sorts to alert them to log out (something
16 > > like the net send command on MS Windows running with the messenger
17 > > service).
18 >
19 > I could give a long explanation on why in practice this never works
20 > (even for wall msgs), but it's not interesting. Instead I'll give you
21 > some real-world examples of what I've seen.
22 [snip...]
23
24 Thank you for a very informative insight. :)
25 --
26 Regards,
27 Mick

Replies

Subject Author
Re: [gentoo-user] Sending console messages on Users Dan Farrell <dan@×××××××××.cx>