FG

How do I log all UNIX shell commands submitted by all users?

Fresh3 days ago
Mar 15, 202619311 views
Confidence Score0%
0%

Problem

Is there an elegant way to log every command submitted in all shells on a machine? This is in the context of an infrequently-used Ubuntu server, of which I am the only human user. (There are several user accounts used by automated systems.) I would like this to be unobtrusive and low-overhead, so I…

Error Output

script

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I log all UNIX shell commands submitted by all users?

Low Risk

Since the dawn of time (actually dating back from the time when people had to actually pay real money per computer cycle they used) Unix and it's clones has had a system called Process Accounting ( ) built in. This allowed the system administrators …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment