安装自制软件的密码失败

时间:2013-10-27 10:00:49

标签: ruby homebrew

我正在尝试下载自制软件但终端的默认值要求我输入密码,我不知道密码。谁能告诉我如何处理?

    Last login: Sun Oct 27 17:32:17 on ttys000
`111-250-68-247:~ louisa$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
==> This script will install:
    /usr/local/bin/brew
    /usr/local/Library/...
    /usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Failed during: /usr/bin/sudo /bin/mkdir /usr/local
111-250-68-247:~ louisa$ 

2 个答案:

答案 0 :(得分:0)

它要求您提供帐户的密码,但这似乎不是身份验证问题。您可能需要enable the root account

答案 1 :(得分:0)

使用您当前登录的用户的密码。为我工作