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

2026-06-11-如何在R2520G6透過Redfish指令進行遠端韌體更新

title: 如何在 R2520G6 透過 Redfish 指令進行遠端韌體更新  date: 2026-06-01  tags: [R2520G6, Redfish, Firmware, BIOS, BMC, CPLD, ROT]  last_updated: 2026-06-...