Monday, July 09, 2012

disable unwant on ubuntu 12.04

ubuntu 12.04

disable guest account

Open /etc/lightdm/lightdm.conf file from your terminal using the following command

sudo gedit /etc/lightdm/lightdm.conf

Add the following line

allow-guest=false

Save and exit the file

After adding the above line you should see similar to the following in lightdm.conf file

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false

Finally you have to restart lightdm using the following command from your terminal

sudo /etc/init.d/lightdm restart



=============

disable dnsmasq

If you don’t want a local resolver you can turn it off DNSMASQ using the following procedure

You need to edit /etc/NetworkManager/NetworkManager.conf file

    gksudo gedit /etc/NetworkManager/NetworkManager.conf

and comment out the following line from

    dns=dnsmasq

to

    #dns=dnsmasq

Save and exit the file

Now you need to network-manager using the following command

    sudo /etc/init.d/network-manager restart

No comments:

Post a Comment