1. 程式人生 > >ubuntu 16.04 取消guest 賬戶

ubuntu 16.04 取消guest 賬戶

01.進入目錄

cd /usr/share/lightdm/lightdm.conf.d

02.檢視檔案

ls
50-disable-log-backup.conf  50-ubuntu.conf         50-xserver-command.conf
50-greeter-wrapper.conf     50-ubuntu.conf.bak
50-guest-wrapper.conf       50-unity-greeter.conf

03.備份

sudo cp 50-ubuntu.conf 50-ubuntu.conf.bak

04.編輯50-ubuntu.conf並儲存

[Seat:*]
user-session=ubuntu
allow-guest=false       

新增:allow-guest=false