cannot open access to console,the root account is locked
someone who can help.I get this message
cannot open access to console,the root account is locked |
A web search of that error returns numerous scenarios which may help you narrow it down, depending on when it occurs and which distro.
That will give you ideas for additional keywords, to help you isolate the problem. Please do let us know what it turns out to be, and what additional info/clues helped you solve it. |
Which release of Fedora are you using? What did you do to get that message? Recent releases lock the account by default and use sudo. See the link below.
https://lwn.net/Articles/879272/ |
This was such a monumental screw-up by the Fedora devs, they should have quit.
|
Quote:
|
Can you use the console as yourself? If so, you can carry out diagnostics and perhaps fix things using sudo.
If not, you will have to boot from a rescue/installation image that will give you root access again. |
Quote:
|
You haven't answered my question. Can you use the console as yourself? Can you log in as yourself and give simple commands like ls?
|
Quote:
|
That "press enter to continue" usually occurs during boot when the kernel has loaded but can't find its initial root device. So you are not actually reaching a console at all.
In the second case you describe, you haven't even got as far as loading the kernel. You are stuck in the GRUB bootloader. The fact that the prompt says "grub" and not "grub rescue" shows that the bootloader has at least loaded its shell module and can receive commands, but can't find the kernel image that it needs to load next. I'm no expert on GRUB, but most of the other people here use it and they can tell you how to specify your kernel and initial root device. |
Quote:
|
Quote:
|
Quote:
https://forums.fedoraforum.org/attac...4&d=1690081622 |
I am not a man, good or otherwise! As you would have seen if you had bothered to read my signature. What you need to do is to look at the lines immediately above this message and reproduce them here. Otherwise no one will know why the system wants you to abort the boot.
No Linux problem can ever be solved if insufficient information is given. If you want people here to help you, you must help us by providing as much information as possible. |
Maybe this will help.
https://docs.fedoraproject.org/en-US...ccount-locked/ |
All times are GMT -5. The time now is 12:27 PM. |