Wednesday, March 29, 2017

Login to CentOS 7 without Login Prompt

[root@testcentos7 ~]# vi /etc/systemd/system/getty.target.wants/getty@tty1.service

Find the line

ExecStart=-/sbin/agetty  –noclear %I $TERM

and change to

ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM


Next boot there will be no login prompt for root user


Refer: kallumama Linux Tutorials

No comments:

Post a Comment

How to upgrade G4520G6 (B7149) Ffirmware

 G4520G6 firmware process Web GUI mode: CPLD -> BMC -> BIOS BMC Out of band (Redfish/BMC Web) : CPLD: *.jed.tar (System need power off...