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!

posta un anno fa313 visualizzazioni
1 Risposta
0
Risposta accettata
  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
ESPERTO
kentrad
con risposta un anno fa
profile pictureAWS
ESPERTO
verificato un anno fa
  • Thanks, looks like I click the wrong button and terminated it, ooopsie!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande