Disable guest session and create user accounts in Linux Mint 12

Linux Mint 12 is the latest release of the Ubuntu Desktop-based branch of Linux Mint. This release comes with several desktop options, a few screen shots of which have been posted here.

By default, Linux Mint 12 ships with a guest session enabled, so a password-less access to the system is possible from the login screen to anybody with physical access to a Linux Mint 12-powered computer. If you do not want that level of openness on your computer, this tutorial will show you how to disable that guest session, and also how to create additional user accounts on the system.

This image shows what the login screen looks like, with the guest session underlined. To begin the process of disabling it, open a shell terminal and type the following command: sudo gedit /etc/lightdm/lightdm.conf.
Mint 12 Edited Login Screen

That should open the LighDM configuration file in GEdit, a text editor. The original content of that file is shown below.
Mint 12 LightDM.conf

All you need to do to disable guest session from the login screen is to add the allow-guest=false declaration to the end of the file as shown here. Save and close the file.
Mint 12 Edit LightDM.conf

That should be all you need to do.
Mint 12 Edited Login Screen

The second stage of this tutorial is to show the simple steps involved in adding or creating a new user account. There are two types of accounts defined in Linux Mint 12 – Administrator and Standard. The account created during installation is, by default, of the Administrator kind. The next few screen shots will be used to show how to create a Standard account, one that does not have administrative privileges on the system.

To start, launch System Settings from the user profile widget. Click on User Manager, which should open in place. There are two steps in take here. First, unlock User Manager. Second, click on the “plus” button to create the new account.
Mint 12 User Manager

From the Account Type menu, select Standard, and fill in the other credentials for the account. If you want to give the account admin privileges, select Administrator from the menu. Click Create.
Mint 12 Create User Account

By default, a newly created account is disabled because a password has not been specified for it. Click on the arrowed line to create a password.
Mint 12 New User Account

Set a strong password for the account. Click Change.
Mint 12 Set User Password

Back to the main User Manager window, you will find the new account listed with the existing ones. To delete an account, select it and click on the “minus” icon. And to enable automatic login for any account (not recommended), select the account from the same window and turn it off by clicking on the button (upper arrow).
Mint 12 Delete User

Related Posts

Configurable Menu: Install the best menu for Linux Mint 17/17.1 Cinnamon Configurable Menu is one of the best applet's I've found in Linux Mint Cinnamon. I've been using it for about three weeks on Linux Mint 17 installed o...
Linux Mint 8 installation guide Mint 8 is the latest version of Linux Mint to be made available to the public. Though the installation routine is a very simple one, I still get traff...
Solution for crashing KDE applications on Linux Mint 17.1 Cinnamon On one of my test systems, I have Linux Mint 17.1 Cinnamon installed. However, I still like to use KSnapshot, the screenshot application for KDE. A...
How to replace GRUB with BURG on Linux Mint 11 GRUB, the GRand Unified Bootloader, has been the default boot loader on virtually all Linux distributions since LILO (LInux LOader) lost its shine. LI...
Triple-boot Linux Mint 17.3, Ubuntu 16.04, Windows 10 on a PC with UEFI firmware This post shows how to triple-boot Linux Mint 17.03, Ubuntu 16.04, Windows 10 on a PC with UEFI firmware and on a single hard drive. Consider this ...
Linux Mint 16 Petra Cinnamon Desktop screenshot preview Linux Mint 16, code-named Petra, will be the next stable edition of Linux Mint, a desktop distribution based on Ubuntu Desktop. It could be released s...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


  1. The first part doesn’t work on Linux Mint 17.1 Cinnamon. The lightdm.conf file isn’t found at that location. :\

  2. I wanted to add a user. Looks like a nice tutorial except I can’t find System Settings. What’s the user profile widget?

    • I’ve managed to a add a user. However, to do it, I did ‘sudo apt-get install gnome-system-tools’, and then ran the Administration -> ‘Users and Groups’ program.

  3. Pingback: LinuxMint 12 “Lisa” – Impressions – shk.schneider's Blog

  4. Great tutorial. Makes it seem simple now looking back. I just did the ‘add account’. Quick and easy now that I know. Thanks a lot.

  5. I know this works in Ubuntu 11.10..but does not work on Mint 12.

  6. Disabling guest session as you indicate doesn’t work. Asus Eee PC 701SD, Linux Mint 12 (CD 32 bits). Everything else but not MATE, I don’t need it.

Leave a Comment

Your email address will not be published. Required fields are marked *