Sometimes I have to track down user activity on remote machines. Linux audit and messages log are of course a great help; .bash_history is also very helpful, but it's not very verbose as a lot of people here just use Midnight Commander for running everything. I've tried to find some kind of log file for Midnight Commander, but found nothing.

My question is: does MC do any kind of user activity logging at all? If so, where it stores the data, and how to obtain it?


There's a whole subdirectory ~/.mc/, and ~/.local/share/mc/. This said, using audit log is much more helpful in tracking down activity since it is supposed to catch all pertinent events.


No, I have never known MC to have any logging mechanism. Other than for the FTP functionality.

For high risk file systems, you will want to keep high frequency backups and restrict access or the tools to access such areas.

No logging, but some very light history, as @Deer Hunter has shown. However, not suitable for auditing. Does not log deleting or moving files, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.