{"id":1159,"date":"2022-06-23T21:28:42","date_gmt":"2022-06-23T19:28:42","guid":{"rendered":"https:\/\/hentati.org\/?p=1159"},"modified":"2023-01-26T20:48:34","modified_gmt":"2023-01-26T19:48:34","slug":"reset-expired-password-vcenter","status":"publish","type":"post","link":"https:\/\/hentati.org\/index.php\/2022\/06\/23\/reset-expired-password-vcenter\/","title":{"rendered":"Reset Expired Root Password vCenter"},"content":{"rendered":"<p><span style=\"color: #000000;\">In our case, we have expired root password for vCenter and we want to reset it !<\/span><\/p>\n<p><span style=\"color: #000000;\">(we are using vCenter version 7.0.1)<\/span><\/p>\n<p><span style=\"color: #000000;\">How can we proceed ?<\/span><\/p>\n<p><span style=\"color: #000000;\">First of all, we have to connect to vCenter on ssh or console :<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1172\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset11.png\" alt=\"\" width=\"656\" height=\"309\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset11.png 656w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset11-300x141.png 300w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">As you can see, we can&#8217;t connect with root password :<\/span><\/p>\n<p><span style=\"color: #000000;\">\u00a0<img loading=\"lazy\" class=\"alignnone size-full wp-image-1162\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset3.png\" alt=\"\" width=\"666\" height=\"63\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset3.png 666w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset3-300x28.png 300w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">So we have to enter command sudo su to connect with sudo user &#8220;root&#8221;<\/span><\/p>\n<p><span style=\"color: #000000;\"> <img loading=\"lazy\" class=\"alignnone size-full wp-image-1163\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset4.png\" alt=\"\" width=\"689\" height=\"214\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset4.png 689w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset4-300x93.png 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">now as we are logged with super user, we can enter passwd command to initialize password :<\/span><\/p>\n<p><span style=\"color: #000000;\"> <img loading=\"lazy\" class=\"alignnone size-full wp-image-1164\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset5.png\" alt=\"\" width=\"507\" height=\"87\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset5.png 507w, https:\/\/hentati.org\/wp-content\/uploads\/2023\/01\/reset5-300x51.png 300w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">You can test it, it works !<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our case, we have expired root password for vCenter and we want to reset it ! (we are using vCenter version 7.0.1) How can we proceed ? First of &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1303,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1159"}],"collection":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/comments?post=1159"}],"version-history":[{"count":6,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1159\/revisions"}],"predecessor-version":[{"id":1176,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1159\/revisions\/1176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media\/1303"}],"wp:attachment":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media?parent=1159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/categories?post=1159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/tags?post=1159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}