Switch VM Users
You can change users on an Oracle SOA Cloud Service 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 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 theopc
user.
Switching to the oracle
User
The oracle
VM 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.
Enter the following to become the oracle
user:
sudo su - oracle
Note:
There is no default password for theoracle
user.
Switching to the root
User
An alternative to using the sudo
command to perform root OS operations with the opc
user is to switch to the root
user.
Enter the following to become the root
user:
sudo -s
Note:
Avoid using theroot
user except to perform privileged OS administration tasks.