[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to log bash commands (like with history or 'script' utility, bu
From: |
Greg Wooledge |
Subject: |
Re: how to log bash commands (like with history or 'script' utility, but better) |
Date: |
Tue, 29 Nov 2022 20:59:27 -0500 |
On Wed, Nov 30, 2022 at 12:18:08AM +0100, Alexander Kolodziej wrote:
> I would like to log all (interactive) commands that are entered at the
> prompt during an ssh/console session.
Bash can be compiled to do this. Look for SYSLOG in config-top.h.
Whether this is a violation of your country's privacy laws is something
you'll have to discuss with your legal team. We're not lawyers.
- how to log bash commands (like with history or 'script' utility, but better), Alexander Kolodziej, 2022/11/29
- Re: how to log bash commands (like with history or 'script' utility, but better), Dennis Williamson, 2022/11/29
- Re: how to log bash commands (like with history or 'script' utility, but better),
Greg Wooledge <=
- Re: how to log bash commands (like with history or 'script' utility, but better), address@hidden, 2022/11/30
- Re: how to log bash commands (like with history or 'script' utility, but better), address@hidden, 2022/11/30