From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HslRf-0002Eh-MN for garchives@archives.gentoo.org; Mon, 28 May 2007 20:04:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4SK1V9q013339; Mon, 28 May 2007 20:01:31 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4SJt33l003320 for ; Mon, 28 May 2007 19:55:03 GMT Received: by ug-out-1314.google.com with SMTP id u2so975806uge for ; Mon, 28 May 2007 12:55:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=YPZVsU/EZ+sP6Il3oGq7gN42recBnkjMeBernhpaGsDie+6vCUKi2rVDygSy8CXk6qmsK6uOEjXGgTNwWVc4K+T7Evtijcodf7Um3xHXiDckL9o/xRajb1mqA+Smd6XLG/likDSqAAbLeGOofmcNrYthq/JTfe1YFPpGXOH7ww8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=e5EiIySEEf8P5t45oo6//KtLZEB8f3DFMWEsJ1ww6OBwoHerf2QNa+c8s+UpVhnwPyPnhMwT8owR60dB3J6F/3uDmy1ZFPKeqQMEdaFcv0/n9WtoSKDEkp2gJYjtrCEdhB3TdTOKHoGmWeCQlgqw7xaT/XrhJUGQZA1Q2N9UyAM= Received: by 10.82.187.16 with SMTP id k16mr11439466buf.1180382102824; Mon, 28 May 2007 12:55:02 -0700 (PDT) Received: from lappy.study ( [213.162.120.196]) by mx.google.com with ESMTP id 7sm587553nfv.2007.05.28.12.55.01; Mon, 28 May 2007 12:55:02 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Sending console messages on Users Date: Mon, 28 May 2007 20:54:27 +0100 User-Agent: KMail/1.9.5 References: <200705281852.35730.michaelkintzios@gmail.com> <1180379678.8155.25.camel@blackwidow.nbk> In-Reply-To: <1180379678.8155.25.camel@blackwidow.nbk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2159482.BbJDydkftv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705282054.37450.michaelkintzios@gmail.com> X-Archives-Salt: 44563b06-1dc7-4e40-bf61-e034a029fc4f X-Archives-Hash: fcad284bb66cbf46197fff528833af72 --nextPart2159482.BbJDydkftv Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 other= s=20 on the shoulder. I assume all these will work if logged onto a server via= =20 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. :) =2D-=20 Regards, Mick --nextPart2159482.BbJDydkftv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGWzN05Fp0QerLYPcRAuEcAJ4oN0hYFbtFGfNXa8ueMv+kLMLvGQCggpyB 5HoD0fwrXpX8sMQz2aIZbdo= =CEa7 -----END PGP SIGNATURE----- --nextPart2159482.BbJDydkftv-- -- gentoo-user@gentoo.org mailing list