How do I send message to all ttys/ptys?
Hello, Is there a way to send message to all tty/ptys of logged in users? Say I configure something on my system I want that message to be sent to all currently logged in users as well as to the console, which in my case is /dev/ttyS0 Via syslog-ng how do I redirect message to currently logged in ptys? /Subodh
Hi, On Sat, Feb 16, 2002 at 04:40:05AM -0800, Subodh Nijsure wrote:
Is there a way to send message to all tty/ptys of logged in users? One possibility that comes to mind is using the "program" destination with the "wall" command. There must be a smarter way to do this, though.
Greetings Gert
On Sat, Feb 16, 2002 at 02:10:24PM +0100, Gert Menke wrote:
Hi,
On Sat, Feb 16, 2002 at 04:40:05AM -0800, Subodh Nijsure wrote:
Is there a way to send message to all tty/ptys of logged in users? One possibility that comes to mind is using the "program" destination with the "wall" command. There must be a smarter way to do this, though.
try the user() destination. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (3)
-
Balazs Scheidler
-
Gert Menke
-
Subodh Nijsure