Red Hat Enterprise Linux 3: System Administration Guide
Prev | Chapter 30. Console Access | Next

# 30.2. Disabling Console Program Access

To disable access by users to console programs, run the following command as root:

    rm -f /etc/security/console.apps/*

In environments where the console is otherwise secured (BIOS and boot loader passwords are set, <KEYCAP >[Ctrl]</KEYCAP >-<KEYCAP >[Alt]</KEYCAP >-<KEYCAP >[Delete]</KEYCAP > is disabled, the power and reset switches are disabled, and so forth), you may not want to allow any user at the console to run `poweroff`, `halt`, and `reboot`, which are accessible from the console by default.

To remove these abilities, run the following commands as root:

    rm -f /etc/security/console.apps/poweroff
    rm -f /etc/security/console.apps/halt
    rm -f /etc/security/console.apps/reboot

Prev | Home | Next
Console Access | Up | Disabling All Console Access