在剛修改完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”