On Mon, 28 May 2007 20:54:27 +0100
Mick <[EMAIL PROTECTED]> wrote:

> 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.  :)

Yes, it should work at ssh terminals too.  My test verifies.  

A. Hopkins is right though; even if everyone _did_ work at the
terminal, and not say at the screen, people using ncurses or redrawing
the screen often at any rate could miss a wall message.  
-- 
[EMAIL PROTECTED] mailing list

Reply via email to