Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Unable to properly login to Google Cloud shell using regular user account.

I have created a test google user account to play with Storage buckets etc. But the user’s home directory points to the Google admin user account. How do we switch the home dir?

1 Answers

Hi Praveen,

To do this you first need to set the account parameter (and project parameter if not already updated) for config like this:

gcloud config set account 

and set gcp project

gcloud config set project 

Followed by authentication command

gcloud auth login

login with your test user gmail credentials. 

Hope this helps!

Praveen Bandaru

Thank you very much Lokesh, That worked!

Lokesh Vij

Wonderful! I am glad that it helped..

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?