How to configure su on Linux so root is prompted for password when switching user (Doc ID 404153.1)

Last updated on JUNE 30, 2009

Applies to:

Linux Kernel - Version: 2.1 to 4.0
Linux x86-64
Linux x86

Goal

The purpose of this article is to describe how to configure su (switch user) on Linux so that the root user is prompted for a user password when switching (su) to another user.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms