_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
I would say to copy /usr/lib/systemd/system/getty@.service to
/etc/systemd/system, except that doesn't seem to work as an override for
some reason. So edit /usr/lib/systemd/system/getty@.service and change
the ExecStart= line to "/usr/sbin/sulogin -e -p /dev/%I". Then lock the
root password (passwd -l root) and reboot. Every console should say
"Press enter for maintenance". Press enter and you have a root shell.
Just be aware that updates could replace that file and then you're in
trouble if you don't have another account to fix it from. If you can
figure out how to make the service file override to work then that would
be much better.
- Boot normally, but give me a root shell Richard W.M. Jones
- Re: Boot normally, but give me a root shell fedora
- Re: Boot normally, but give me a root shell Joachim Backes
- Re: Boot normally, but give me a root shell Samuel Sieb
- Re: Boot normally, but give me a root shell Tim
- Re: Boot normally, but give me a root she... Greg Woods
- Re: Boot normally, but give me a root... Joachim Backes
- Re: Boot normally, but give me a... Greg Woods
- Re: Boot normally, but give ... Joachim Backes
- Re: Boot normally, but g... Patrick O'Callaghan
- Re: Boot normally, but give me a root shell Ahmad Samir
- Re: Boot normally, but give me a root shell Richard W.M. Jones