Ways to prevent accidental shutdowns and reboots in Red Hat Enterprise Linux (RHEL)

Solution Unverified - Updated -

Issue

How can I limit my users (root and non-root) from accidentally shutting down or rebooting my servers? I thought I was on a different server. Not paying attention to the "tab" auto-complete of a similar commands, for example the "poweroff" command, when I want to run the EMC utility "powermt" command.

Q1: Are the "/sbin/poweroff", "/sbin/halt", "/sbin/shutdown", and "/sbin/reboot" commands called by other programs?

Q2: Is there already a rpm and/or setting to control this?

Environment

Red Hat Enterprise Linux (RHEL) 5
Red Hat Enterprise Linux (RHEL) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content