[syslog-ng]How do I send message to all ttys/ptys?

Balazs Scheidler bazsi@balabit.hu
Mon, 18 Feb 2002 16:16:05 +0100


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