• 云计算之路-试用Azure:竟然无法重置虚拟机的管理员密码团队


    在忘记管理员密码的情况下,可以远程重置服务器的管理员密码是云计算服务的一个优势,这是使用自己的物理服务器无法实现的。

    但是,在使用Azure的时候,我们找遍Azure管理控制台也没找到可以重置虚拟机(Virtual Machine)管理员密码的地方。

    Google一下发现原来Azure根本没有提供这个功能:

    As of now there is no way Subscription owner to reset the password externally or outside the Azure VM.

    A:The virtual machines on Windows Azure allow to connect from RDP. But how can I reset the administrator password if the password has been lost?

    Q:There is no way to do this now, but you can get the data off of the drive if you need to. Please see the Microsoft answer here.

    来看看其他云计算服务商的情况:

    1、亚马逊AWS的EC2虚拟机是可以重置管理员密码的,操作方法如下(来自EC2 Windows password recover):

    I ran across this scenario and found a solution using the unique setup of EC2 on another site: http://www.smattie.com/2012/01/23/video-remotely-reset-windows-password-via-ec2-config-service/

    The video is long, so to summarize the steps:

    1. Create a new scratch EC2 instance running 2003 server, and log into it.
    2. Shut down your lost instance (the one you can't log into) from the AWS console.
    3. On the EC2 console, go to Elastic Block Store/Volumes and find your C: disk volume, and Detach it.
    4. On that same volume, attach it to your scratch EC2 instance. You can see it appear in Disk Manager and you'll get a new D: drive letter.
    5. Go to D:Program FilesAmazonEc2ConfigServiceSettings and edit config.xml with notepad
    6. The first setting in the file is for the Ec2SetPassword plugin; change the State field from Disabled to Enabled. Save & close.
    7. On the AWS console, Detach the volume from the scratch instance (don't worry, it safely detaches from Windows)
    8. Attach the volume to your original lost instance, as /dev/sda1
    9. Start the instance. After a few minutes, run the Get Windows Password function which will have the newly generated password.

    2、阿里云直接可以在管理控制台重置云服务器的管理员密码,操作时需要进行手机或邮箱验证。

    建议Azure能够增加这个功能,并希望这个功能成为云计算服务的标配。

  • 相关阅读:
    BZOJ 2055 80人环游世界 有上下界最小费用可行流
    BZOJ 2406 LuoguP4194 矩阵 有上下界可行流
    BZOJ4873 LuoguP3749 寿司餐厅
    51nod 1551 集合交易 最大权闭合子图
    BZOJ 1565 植物大战僵尸 最大权闭合子图+网络流
    [CodeForces]460C Present
    [BZOJ5072] 小A的树
    [TJOI2015]组合数学
    [HNOI2006]鬼谷子的钱袋
    [IOI2007]矿工配餐
  • 原文地址:https://www.cnblogs.com/cmt/p/3302846.html
Copyright © 2020-2023  润新知