You must use the root user to install the system layer. On RHEL installed on Google Cloud Platform, the root user is disabled by default, therefore you must enable it.
Procedure
Log in to your virtual machine as the default administration user that you created when deploying RHEL.
Run the following command to edit the /etc/ssh/sshd_config file:
sudo vi /etc/ssh/sshd_config
Add the following line to the file:
PermitRootLogin yes
Save the file.
Run the following command to apply the changes:
sudo service sshd restart
Set a password for the root user using the following command: