在Ubuntu14.04中使能root用户登陆后,会弹出对话说:“Error found when loading /root/.profile\n\nstdin: ...”。
解决方法为:
vim /root/.profile
将文件末尾一句 mesg n 更改为:
tty -s && mesg n
在Ubuntu14.04中使能root用户登陆后,会弹出对话说:“Error found when loading /root/.profile\n\nstdin: ...”。
解决方法为:
vim /root/.profile
将文件末尾一句 mesg n 更改为:
tty -s && mesg n