2012-04-23 28 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用戶禁用且密碼爲空。 如果您想提供有關您的操作系統的更多詳細信息,我可以爲您提供設置密碼所需的信息。

相關問題