使用root账户登录时候报Error found when loading /root/.profile错误
终端输入:vi /root/.profile
mesg n 进行注释,在前面加上#
增加一行 tty -s && mesg n,:wq!保存并退出
重启
本文介绍了解决使用root账户登录时出现的Error found when loading /root/.profile错误的方法。通过注释掉mesgn命令,并增加tty-s&&mesgn行,然后保存退出,最后重启系统即可解决问题。
使用root账户登录时候报Error found when loading /root/.profile错误
终端输入:vi /root/.profile
mesg n 进行注释,在前面加上#
增加一行 tty -s && mesg n,:wq!保存并退出
重启

被折叠的 条评论
为什么被折叠?