How to Setup a sudo Switch to Another User That Has no Password or ssh Key Set?
(Doc ID 2451340.1)
Last updated on MAY 14, 2020
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Oracle Linux Cloud Service - Version Oracle Linux 5.0 and later
Oracle Compute Cloud Service - Version N/A and later
Information in this document applies to any platform.
Setup a sudo access to a specific user to switch to another user that has no password of ssh key set.
This is described in a OCI / OCI-C Linux environment, but it is also applicable to any other standalone or physical server. In OCI or OCI-C the user opc/ubuntu(accordingly to the used OS) has sudo permission to make root access changes. In another environment, it needs the same root access.
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