根配置文件错误

Pho*_*yen 8 root tty user-profile

我在 Ubuntu 14.04 上的 root 帐户有问题。当我使用 root 帐户登录时,收到此错误:

Error found when loading /root/.profile: stdin: is not a tty
As a result the session will not be configured correctly. You should fix the problem as soon as feasible
Run Code Online (Sandbox Code Playgroud)

tom*_*ukc 5

https://bugs.launchpad.net/ubuntu/+source/xen-3.1/+bug/1167281

stdin: is not a tty由于mesg n而不是tty -s && mesg n.profile

尝试将上述方法添加tty -s &&到行前,mesg n看看是否有帮助。不同之处在于,如果您的问题也是由您的mesg n个人资料引起的。