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!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南