Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
    • Tags

    Log all sudo commands by each user as root

    Posted on

    We have the need to log every command run as root by each user to that did a "sudo su -" to root.

    Easy way to do this? Yes, I can look at .bash_history for root, but I need to see who was sudo'd to root and what did each person run as root.

    Thank you.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat