Linux禁用GUEST的命令


Linux禁用GUEST的命令
 
ubuntu 12.04默认会有一个guest用户,使用GUEST用户可以无需密码访问Ubuntu机器。
 
gksudo gedit /etc/lightdm/lightdm.conf
添加
allow-guest=false
 
修改后
[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false
 
最后重启下lightdm
sudo restart lightdm
  www.2cto.com  
或者
sudo apt-get remove gdm-guest-session
 
http://www.ubuntugeek.com/ubuntu-tiphow-to-disable-guest-account-in-ubuntu-12-04precise.html
 
 
作者 hanzhou4519

相关内容

    暂无相关文章