From: Esben Stien <executiv@online.no>
To: linux-kernel@vger.kernel.org
Subject: Re: logging all input and output on a tty
Date: 21 Jan 2004 22:34:05 +0100 [thread overview]
Message-ID: <87u12p3s1e.fsf@online.no> (raw)
In-Reply-To: <1074708271.4724.5.camel@gax.mynet>
Ludootje <ludootje@linux.be> writes:
> You can just cat the device, like cat /dev/tty<number>. So you can also
> use normal redirectors (> , >> etc) or use a pager.
If I do cat /dev/tty1 on /dev/tty2, I see what I write to /dev/tty1 on /dev/tty2, but I don't see what I write to /dev/tty1 while working in /dev/tty1 (all the input is being printed on /dev/tty2) . And besides, I only see the input I type, not the output of f.ex a command (on /dev/tty2). I want to monitor users and log everything that is done on a specific tty when they log in.
--
b0ef
next prev parent reply other threads:[~2004-01-21 21:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-21 16:48 logging all input and output on a tty Esben Stien
2004-01-21 17:12 ` Andreas Dilger
2004-01-21 21:37 ` Esben Stien
2004-01-21 18:04 ` Ludootje
2004-01-21 21:34 ` Esben Stien [this message]
2004-01-21 21:41 ` Mike Fedyk
2004-01-21 21:55 ` William Stearns
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87u12p3s1e.fsf@online.no \
--to=executiv@online.no \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.