On 6 October 2016 at 23:55, Richard W.M. Jones <rjo...@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

-- 
Ahmad Samir
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to