OSX在su - root之后出现了一些消息

时间:2013-02-04 11:44:53

标签: macos terminal root

每当我切换到root后:
su - root

当我在终端中成为root时,显示:
-sh: /Applications/XCODE: No such file or directory

请出现此消息的位置?
我在哪里可以找到它?

1 个答案:

答案 0 :(得分:0)

我从trojanfoe获得了解决方案。

  1. 检查/var/root/.bash_profile
  2. 检查/etc/profile
  3. 谢谢!