eucalyptus / windows-integration

Eucalyptus Windows Integration tool
Other
4 stars 7 forks source link

User can be locked out of system after sysprepping #3

Open carlospuk opened 11 years ago

carlospuk commented 11 years ago

Hi there

We ran into an issue where we sysprepped the server image, but needed to go back in and change something. (we forgot to delete C:\SkipIC.txt - it's a Windows Server 2012 box)

However, we're now locked out of the new Administrator account - and the password is hidden in the Sysprep answers file answer_server2008r2_amd64:

<AdministratorPassword>
<Value>ZQB1AGMAYQBzAHkAcwAwADYAMQA0ACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>

Is this default password documented somewhere? What is it? It would be very useful to have it documented in the Wiki or similar.

sangmin commented 11 years ago

Hi Carl,

Eucalyptus will set the Administrator password of your windows instance, which is retrieved by euca-get-password. The password field in the sysprep xml has no use.

--SM

On Mon, Apr 29, 2013 at 2:01 AM, Carl Partridge notifications@github.comwrote:

Hi there

We ran into an issue where we sysprepped the server image, but needed to go back in and change something. (we forgot to delete C:\SkipIC.txt - it's a Windows Server 2012 box)

However, we're now locked out of the new Administrator account - and the password is hidden in the Sysprep answers file answer_server2008r2_amd64:

ZQB1AGMAYQBzAHkAcwAwADYAMQA0ACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA false</PlainText> </AdministratorPassword> <p>Is this default password documented somewhere? What is it? It would be very useful to have it documented in the Wiki or similar.</p> <p>— Reply to this email directly or view it on GitHubhttps://github.com/eucalyptus/windows-integration/issues/3 .</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/carlospuk"><img src="https://avatars.githubusercontent.com/u/687192?v=4" />carlospuk</a> commented <strong> 11 years ago</strong> </div> <div class="markdown-body"> <p>Hi Sangmin, yes it has no use if you're trying to get into the Eucalyptus instance, but if you're trying to get back into the original .img file running it under KVM, you are locked out! So does anybody have a copy of the decrypted password somewhere please?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/sangmin"><img src="https://avatars.githubusercontent.com/u/479102?v=4" />sangmin</a> commented <strong> 11 years ago</strong> </div> <div class="markdown-body"> <p>One hack is to copy the config file: <a href="https://github.com/eucalyptus/windows-integration/blob/master/EucaServiceLibrary/configuration.xml">https://github.com/eucalyptus/windows-integration/blob/master/EucaServiceLibrary/configuration.xml</a></p> <p>and edit the password. then put it into floppy disk of the Windows VM, and login using the new password.</p> <p>On Mon, Apr 29, 2013 at 10:20 AM, Carl Partridge notifications@github.comwrote:</p> <blockquote> <p>Hi Sangmin, yes it has no use if you're trying to get into the Eucalyptus instance, but if you're trying to get back into the original .img file running it under KVM, you are locked out! So does anybody have a copy of the decrypted password somewhere please?</p> <p>— Reply to this email directly or view it on GitHubhttps://github.com/eucalyptus/windows-integration/issues/3#issuecomment-17180705 .</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/carlospuk"><img src="https://avatars.githubusercontent.com/u/687192?v=4" />carlospuk</a> commented <strong> 11 years ago</strong> </div> <div class="markdown-body"> <p>Now that is a nice workaround - thank you!</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>