在刚修改完root权限自动登录后,发现开机出现以下提示:
Error found when loading /root/.profile
stdin:is not a tty
…………
解决方法:
1.在终端中用命令: gedit /root/.profile,打开文件后找到“mesg n”,
2.将其更改为: “tty -s && mesg n”
Error found when loading /root/.profile
stdin:is not a tty
…………
1.在终端中用命令: gedit /root/.profile,打开文件后找到“mesg n”,
2.将其更改为: “tty -s && mesg n”