How To Fix Error “Cannot open access to console, the root account is locked”

Published Date Author: , Posted June 23rd, 2023 at 4:31:14pm

When trying to access the serial console on AWS, I got the following error:
Cannot open access to console, the root account is locked

Since I had edited /etc/fstab, the host would not boot.

The only way to fix this problem is to unmount the root volume from the affected instance, mount it on another node, edit the stab file, and reverse the process., ending up with that volume re-attached as root on the problem node

https://unix.stackexchange.com/questions/684169/cannot-open-access-to-console-the-root-account-is-locked

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.