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:
Essential Event Log Configurations to be CorelatedConsidering Windows audit event logging, there are plenty of guides available in the Internet to follow. Most of the event configurations would overla… Read More
Event Log Retention Requirements as mandated by Major Compliance RegulationsOn September 20th, 2016, Digital Edge released an article on Log Management Laws and Regulations. Below is a little "Cheat Sheet" on the Event Lo… Read More
Why / Why Not Virtual Patching While the goal of many organizations is to maintain operating systems and other business application software are always up to date with latest … Read More
Remove PostgreSQL in Ubuntu 18.04Once I was using PostgreSQL and when I no longer need to keep the installation, I wanted to remove it completely. So I used the command listed b… Read More
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
0 comments:
Post a Comment