Autologin as root but require password
In order to run a simple Windows restore script, I need a basic shell-only Debian install to autologin as root. I normally do this via mingetty, but I only know how to make that give a root prompt. This obviously presents the problem of someone initiating the restore without permission, or ctrl+c-ing the restore script before it's started and obtaining root access to the whole system, including user data.
What I'd like, instead, is for the shell to initiate the root login, but request a password. Just as if the user had entered "root" at the login prompt, but without them actually having to do this.
How do I do this?
Last edited by Changes; 08-12-2014 at 10:12 AM.