使用root账户登录时候报Error found when loading /root/.profile错误,如下图所示:
解决办法:终端输入:nano /root/.profile
mesg n 进行注释,在前面加上#
增加一行 tty -s && mesg n,ctrl+x 保存并退出,输入Y,回车。
重启系统 终端输入 init 6
使用root账户登录时候报Error found when loading /root/.profile错误,如下图所示:
解决办法:终端输入:nano /root/.profile
mesg n 进行注释,在前面加上#
增加一行 tty -s && mesg n,ctrl+x 保存并退出,输入Y,回车。
重启系统 终端输入 init 6