autologin: puse la referencia al último y la puse comentada

De esta manera, se puede correr el Howto como script de bash.
This commit is contained in:
Renich Bon Ćirić 2023-03-10 14:03:59 -06:00
parent 2d13138b06
commit 337d198a25

View file

@ -1,5 +1,3 @@
https://access.redhat.com/solutions/1220603
rm /etc/systemd/system/getty.target.wants/getty@tty1.service rm /etc/systemd/system/getty.target.wants/getty@tty1.service
cat >> /etc/systemd/system/getty@tty1.service << EOF cat >> /etc/systemd/system/getty@tty1.service << EOF
@ -62,4 +60,4 @@ sed -i '/^root/ a test:$6$RilmkHYl9XJJAYdQ$kNHf8CkSYxOMhUgytSBFIxmg3rSPjsDAjLH3l
sed -i '/test/s/screen-.*$/screen-netdev/' /etc/passwd sed -i '/test/s/screen-.*$/screen-netdev/' /etc/passwd
# referencia: https://access.redhat.com/solutions/1220603