I have tried to log into my Google Instance running "CIS CentOS Linux 7 Benchmark Level 1" and get the following message.
It's asking for the current password which we don't have. Is there a way to gain access and reset things?
I'm currently locked out of the server for both SFTP and SSH. And for the record I'm using Cloud Shell to gain SSH access.
Thank you in advance
Welcome to Cloud Shell! Type "help" to get started.
Your Cloud Platform project in this session is set to xxxxxxxx.
Use “gcloud config set project [PROJECT_ID]” to change to a different project.
xxxxxx@cloudshell:~ (xxxxxx)$ gcloud compute --project "xxxxxx" ssh --zone "europe-west2-a" "xxxxxx"
Authorized uses only. All activity may be monitored and reported.
You are required to change your password immediately (password aged)
Last login: Mon Dec 3 17:07:52 2018 from
xxxx.xxx.xxx.xx.bc.googleusercontent.com
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for user xxxxx.
Changing password for xxxxx.
(current) UNIX password: