System Administration Guide

How to Display Superuser (root) Access Attempts to the Console

  1. Become superuser.

  2. Edit the /etc/default/su file.

  3. Uncomment the following line.


    CONSOLE=/dev/console
  4. Use the su command to become root, and verify that a message is printed on the system console.