How To Reset Password For Ubuntu Gcp Instance

[Solved] How To Reset Password For Ubuntu Gcp Instance | Shell - Code Explorer | yomemimo.com
Question : how to reset password for ubuntu GCP instance

Answered by : thoughtful-termite-uvgzq6gbo3y5

vfa_gianglt@instance-1:~$ sudo -i
root@instance-1:~# sudo bash
root@instance-1:~# sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@instance-1:~# cd /root
root@instance-1:~#

Source : | Last Update : Wed, 18 Nov 20

Answers related to how to reset password for ubuntu gcp instance

Code Explorer Popular Question For Shell