How to Setup a sudo Switch to Another User That Has no Password or ssh Key Set?
(Doc ID 2451340.1)
Last updated on SEPTEMBER 13, 2021
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterOracle 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.
Goal
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.
Solution
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
Goal |
Solution |