I broke sudo by rename libssl.so.10

0

While acting as root, I renamed /usr/lib64/libssl.so.10 and that broke a lot of things including ability to ssh into system and ability to sudo. I can't revert to the old state since i can't get root access(!).

I know its my fault but had no idea it would break so easily.

Can you tell me hoe to revert to working state?

Thanks!

已提问 1 年前313 查看次数
1 回答
0
已接受的回答
  1. Stop broken instance
  2. Detach broken instance root volume
  3. Start new instance
  4. Attach broken instance root volume to new instance
  5. Login to new instance and fix the files on the broken instance volume
  6. Stop new instance
  7. Detach broken instance volume from new instance
  8. Attach broken instance volume to broken instance
  9. Fixed instance!
profile pictureAWS
专家
kentrad
已回答 1 年前
profile pictureAWS
专家
已审核 1 年前
  • Thanks, looks like I click the wrong button and terminated it, ooopsie!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则