On 6 October 2016 at 23:55, Richard W.M. Jones rjones@redhat.com wrote:
Is there a way to get Fedora to boot into a root shell, without requiring a password?
NOTE: I'm not interested in "emergency" shells and this is not for recovering a system.
I want the (specialized, non-networked) system to boot as normal, all the way to multi-user.target, and then drop me to a root shell.
Rich.
This seems to work with multi-user.target set as the default target: # cd /etc/systemd/system/ # cp /usr/lib/systemd/system/getty@.service getty@tty1.service # sed -i -e 's!ExecStart=-/sbin/agetty!ExecStart=-/sbin/agetty --autologin root!' getty@tty1.service # systemctl enable --force getty@tty1.service