How do I restrict the use of su command?

Updated 2004-10-24T22:00:00+00:00

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 absolute access, thus, it is recommended that you limit the usernames that can use the su command and get root acces...

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.