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 myuserNote:
There is no default password for theopc 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 - oracleNote:
There is no default password for theoracle 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 -sNote:
Avoid using theroot user except to perform privileged OS administration tasks.