Problem solve Get help with specific problems with your technologies, process and projects.

PC utilities on Linux machines

Is there any Linux tool to record what users or PC superusered (SU'ed) to root and the commands that were executed?

Some Unix systems have /var/sulog to see who SU'ed to root and what commands were executed. Are there ways of setting...

the history to file (and how much of it should be saved)?

Some use:

  • lascomm -- all commands executed (by user and tty)
  • acctcom -- same as above
  • acctcms -- all commands executed by time of day, but some are only available according to what the shell is running (currently we are using Bash on Linux)
Some users have an interface tool -- AIX with SMIT [system management interface tool) that can enable/manage and view results of these tracing utilities.
I think your question relates to the availability of PC utilities on Linux machines. I have to say I am not familiar with any PC-based utilities, but that doesn't mean they aren't available.

Whenever I'm looking for sysadmin utilities, I always head to the Perl CPAN network, since Perl is so widely used for system administration functions. Beyond that, I recommend some Google searching for terms like "PC superuser logging" to see what's available.

This was last published in November 2004

Dig Deeper on Linux servers



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.