ubuntu系統使用root使用者登入

2021-09-25 08:00:07 字數 379 閱讀 3541

ubuntu系統預設root使用者是不能登入的,密碼也是空的。

如果要使用root使用者登入,必須先為root使用者設定密碼

開啟終端,輸入:sudo passwd root 然後按回車

此時會提示你輸入密碼,在password:後輸入你現在登入的使用者的密碼

然後系統提示你輸入新的unix密碼

enter new unix password:這裡輸入你想為root設定的密碼,要輸入兩次

此時系統會出現密碼設定成功的提示

最後退出終端,重啟計算機,選擇使用者進入系統的地方,選擇其他

然後輸入root 再輸入root的密碼就可能登入了!

其實用普通使用者登入,在終端裡輸入命令:sudo -s -h也同樣能夠切換到root許可權

Ubuntu 系統使用ROOT登入

ubuntu系統預設root使用者是不能登入的,密碼也是空的。如果要使用root使用者登入,必須先為root使用者設定密碼 開啟終端,輸入 sudo passwd root 然後按回車 此時會提示你輸入密碼,在password 後輸入你現在登入的使用者的密碼 然後系統提示你輸入新的unix密碼 en...

ubuntu系統啟用root使用者

開啟終端,首先使用命令sudo passwd root 接著輸入密碼。再輸入su 切換使用者許可權 1 可以新建lightdm.conf 檔案 gedit etc lightdm lightdm.conf 在其中填寫入如下的內容,然後重啟,選擇 登陸 輸入root使用者密碼 seatdefaults...

用root直接登入Ubuntu 14 04

1.在terminal下輸入 sudo gedit usr share lightdm lightdm.conf.d 50 ubuntu.conf 2.接著把檔案內容改為如下內容 seatdefaults autologin user root user session ubuntu greeter...