開啟ubuntu默認root的權限(su: Authentication failure)
安裝完ubuntu后,為了安全起見,root用戶是沒有設置密碼及啟用狀態的。
輸入以下命令并按提示輸入新的密碼即可使用sudo命令。
輸入以下命令并按提示輸入新的密碼即可使用sudo命令。
$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
posted on 2011-09-12 21:57 leisure 閱讀(6482) 評論(0) 編輯 收藏 所屬分類: linux