2012-04-23 30 views
-1

我尝试安装自制软件所需的root密码

/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" 

安装自制软件,但它需要root密码

==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share /usr/local/share/man /usr/local/share/man/man1 

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: 

但我并没有设定我的Mac上的任何密码。

欢迎提出任何意见

回答

1

这不需要root密码。该消息是关于sudo,它需要具有管理员权限的用户的密码。尝试使用您的用户帐户的密码。

0

大多数UNIX操作系统的root用户禁用且密码为空。 如果您想提供有关您的操作系统的更多详细信息,我可以为您提供设置密码所需的信息。

相关问题