help-bash
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]