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.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx