How do I restrict the use of su command?

Updated -

This article recommends that you disable the root SSH login before proceeding. Please see additional articles in our knowledgebase on the steps necessary to disable direct root login from SSH.

You can SSH using a regular user account, then use the su command to obtain root access. This is true for any user that enters the su command and enters the root password. Root access means absolu...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.