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!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ