* Re: [gentoo-user] Sending console messages on Users
@ 2007-05-28 19:54 99% ` Mick
0 siblings, 0 replies; 1+ results
From: Mick @ 2007-05-28 19:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]
On Monday 28 May 2007 20:14, Albert Hopkins wrote:
> On Mon, 2007-05-28 at 18:52 +0100, Mick wrote:
> > What is the way to send a console warning to anyone logged on a machine
> > before I reboot it?
>
> shutdown(8) does this for you. In addition there is wall(1).
Of course wall! I had forgotten about that. There's also talk to tap others
on the shoulder. I assume all these will work if logged onto a server via
ssh?
> > If the user is logged on a console I will only need to send it to the
> > console; in addition if the user is running webmin, or phpadmin, then I
> > would really like a popup of sorts to alert them to log out (something
> > like the net send command on MS Windows running with the messenger
> > service).
>
> I could give a long explanation on why in practice this never works
> (even for wall msgs), but it's not interesting. Instead I'll give you
> some real-world examples of what I've seen.
[snip...]
Thank you for a very informative insight. :)
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-05-28 17:52 [gentoo-user] Sending console messages on Users Mick
2007-05-28 19:14 ` Albert Hopkins
2007-05-28 19:54 99% ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox