While logged in as root, I accidentally deleted all the files and directories in the /home/root/ directory (including the hidden ones) and logged out. Now, after restarting the computer, I am not able to log in as root.
The following error message is displayed:
Failed to execute login command.
But when I log in as another user and use the su command, it works fine.
What can I do?