Home  >  Q&A  >  body text

centos7如何设置成开机默认命令行模式以及登陆账户为root

systemd方式如何修改?

阿神阿神2733 days ago770

reply all(3)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-04-25 09:03:36

    CentOS7 no longer uses the init hosting service, but changed it to systemd. Naturally, the /etc/inittab file is no longer needed.

    ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

    reply
    0
  • ringa_lee

    ringa_lee2017-04-25 09:03:36

    1, command mode
    systemctl set-default multi-user.target
    2.Graphic mode
    systemctl set-default graphical.target

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-25 09:03:36

    CentOS sets the default startup command line (does not start the graphical interface)
    CentOS implements root automatic login

    For this matter, please google it yourself.

    reply
    0
  • Cancelreply