You are not logged in.
Pages: 1
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?
Offline
Boot into the slitaz version and flavor live cd you used as the source for the install.
Login as root.
Mount the partition that contains the install to a directory.
Restore the missing files with [c]cp -a[/c] to copy the required system files from the live system your booted into to the mounted install.
Offline
Pages: 1
[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]