You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux: Cannot Use sudo As opc User

Note!!Please register a free account to access the full content and also to participate in Q&A in the community

Applies To:

Linux OS – Version Oracle Linux 8
Linux x86_64 on Oracle Public Cloud

Symptoms:

When attempting to use sudo as opc, a password is prompted, but opc, being the default user on OCI Oracle Linux instance does not come with a known password.

$ whoami
opc
$
$ id
uid=1000(opc) gid=1000(opc) groups=1000(opc),4(adm),190(systemd-journal)
$
$ sudo su -
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!