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!

asked a year ago304 views
1 Answer
0
Accepted Answer
  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
EXPERT
kentrad
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago
  • Thanks, looks like I click the wrong button and terminated it, ooopsie!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions