ubuntu16開啟root賬號登入

2021-08-03 06:07:15 字數 515 閱讀 6101

ubuntu16桌面版預設不開啟root賬戶登入,按照以下步驟設定:

sudo vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

在末尾新增:

greeter-show-manual-login=true

儲存修改後,sudo passwd root設定root使用者密碼,重啟即可

這是讀取/root/.profile時發現錯誤:對裝置不適當的ioctl操作,有兩種方法解決:

/root/.profile檔案中的mesg n替換成

tty -s && mesg n

重啟將非root賬戶目錄中的.profile複製到/root/,例如:

cp /home/username/.profile /root/

重啟

Ubuntu 14 04中如何開啟root賬戶

ubuntu 14.04 系統安裝完成後,系統預設的root賬號是關閉的,這主要是為了保護系統的安全性,但有些時候為了安裝軟體或進行其它操作時需要獲得root許可權,就得使用root賬號。而我今天的需求就是要移動乙個比較大的資料夾到另乙個volume,結果預設賬戶沒有許可權,就想到了root,下面就...

ubuntu16啟用daytime服務

1.安裝xinted 先用cat etc services grep daytime 看一下是否有daytime服務,如果沒有的話需要安裝xinted 因為daytime服務包含在xinetd服務中。直接輸入命令 sudo apt get install xinetd 2.修改配置檔案 修改xine...

Window遠端登入Ubuntu16

wget unzip tigervncserver 1.6.80 4 amd64.zip dpkg i tigervncserver 1.6.80 4 amd64.deb 如果安裝出錯可執行 apt get install f 修復依賴關係 安裝 apt get install xrdp y 配置 ...