centos 6 virtual machine's root password?

1,140 views
Skip to first unread message

Tom Gaaiho

unread,
Jul 20, 2015, 4:42:33 AM7/20/15
to gce-dis...@googlegroups.com

Google Cloud Compute Engine Instance Using 


I in the trial centos6 virtual machine. On windows using gcloud can log into CentOS system, login user  is not the root, how to be able to log in as root and root password of CentOS is what, where to find.

please help!

Thanks!

Tom Gaaiho

unread,
Jul 20, 2015, 5:05:32 AM7/20/15
to gce-dis...@googlegroups.com
what is the root's default password(centos 6 virtual machine)?

Kamran (Google Cloud Support)

unread,
Jul 20, 2015, 10:42:51 AM7/20/15
to gce-dis...@googlegroups.com, gaaih...@gmail.com

Hi Tom,

You can use 'sudo su -' to switch to the root user. You can also use 'sudo passwd root' to update root's authentication token(s) and then use 'su -' command to switch to the root user.

Sincerely,

Tom Gaaiho

unread,
Jul 20, 2015, 9:29:41 PM7/20/15
to gce-dis...@googlegroups.com, gaaih...@gmail.com
it's ok now,Thanks!
Reply all
Reply to author
Forward
0 new messages