I wanted to disable the "Guest" account on Ubuntu 12.10. A guest account allows anyone to use the computer without login credentials. No username or password is required. Ubuntu has a guest account enabled by default right through to the current release, Ubuntu 12.10.
To disable the guest account from their Ubuntu 12.04 (Precise Pangolin) or later, we need to remove it from the account list in LightDM - this is the greeter screen you see on start-up. LightDM is an X display manager for login interfaces., which replaced the old GDM (Gnome Display Manager).
I ran the following command in the terminal to open /etc/lightdm/lightdm.conf file in the gedit text editor.
$ sudo gedit /etc/lightdm/lightdm.conf
Mine contains only:
[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
I added the following line to the end of the lightdm.conf file. Then I saved the file and closed the editor.
allow-guest=false
Finaly I restarted the LightDM using following command. Not that If you don't like to restart LightDM, you may wait untill the next re-boot of your system to take effect of the above modification.
Please note that, If you are going to restart lightdm using the following command, first save all unsaved documents. The command might close all the running applications.
$ sudo restart lightdm
You may use the above steps with your own risk. It worked fine with me... :)
Disable Guest Account on Ubuntu 12.10
November 30, 2012 / by Kushan Sharma / with No comments /
Related Posts:
Uninstall Windows Update with Command PromptUse of WUSA command tool to uninstaill If you are unable to remove an update from the Settings app or Control Panel, you can also use the Windows Upda… Read More
How Often Should You Perform Security Vulnerability AssessmentsVulnerability scans shall be conducted after any major system, organization, or infrastructure change to identify any security gaps. Also vulnerabilit… Read More
Should you require to extract the product key from pre-installed MS Windows 10There is no need to know the product key, since the machine has a digital entitlement. If you need to reinstall MS Windows due to a reason … Read More
SSL/TLS Cipher Suites and Perfect Forward SecrecyAn SSL cipher, or an SSL cipher suite, is a set of algorithms or a set of instructions/steps that helps to establish a secure connection between two… Read More
One-way and two-way SSL authenticationHow One-Way SSL Works?Below is the high level description of the steps involved in establishment of connection and transfer of data between a client a… Read More
0 comments:
Post a Comment