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,
[Ctrl]-[Alt]-[Delete]
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 |