On 6/21/2023 8:22 PM, Jonathan Billings wrote:
On Jun 20, 2023, at 20:35, Bill Cunningham
<bill.cu1234(a)gmail.com> wrote:
> I have uploaded the tar.gz file to my cloud VM and try to use the system and it
will not let me have root privledges. I use 'su' and the system wants me to enter
a password. IDK what the password is. IS there a way around this?
When you first booted the VM, there should be a way to see the console. In the startup
text, it will print out a randomly generated root password.
I don't see any of
that at all.
Using cloud-init, you can drop a file in /etc/cloud (I believe) to
set up custom behavior, but by default you get an autogenerated root password. I assume
part of your setup was to put a ssh pubkey so you were able to log in? That was most
likely done with cloud-init, although I think GCP has its own suite of tools that does
something similar.
GCP generates the ssh key automatically. Then you go to a cli
window.