Change VM Users

You can change users on a VM in order to perform specific administration tasks.

You must SSH to a VM only as the opc user. This user has root privileges on the operating system (OS) running in the VM. For example, opc can be used to create other OS users on a VM. Simply prefix root operations with the sudo command. For example:

sudo useradd myuser

Note:

There is no default password for the opc user.

Changing to the oracle user

The oracle user has regular OS user permissions. It is intended to be used to start and stop Oracle products that have been installed on the VM, or to run other Oracle applications and utilities on the VM.

To change to the oracle user, enter the following command:

sudo su - oracle

Note:

There is no default password for the oracle user.

Changing to the root user

An alternative to using the sudo command to perform root OS operations as the opc user is to change to the root user.

To change to the root user, enter the following command:

sudo -s

Note:

Avoid using the root user except to perform privileged OS administration tasks.