How to Set Restrict Non-Root Users from Accessing Root Using the su -i or su -s Command?
(Doc ID 2424170.1)
Last updated on AUGUST 26, 2021
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.2 and later
- The goal is to restrict non-root users from switching to the root user by using the sudo -i or sudo -s command.
- As an example user in this document oracle user restrict the switch to root user
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document