Skip to main content
LPIC-1 Exam 102

Hide Users Ubuntu Login

By November 26, 20152 Comments

Hide Users on the Ubuntu Login Screen

Hide Users

For Objective 106.2 of the LPI LPIC-1 102 exam you will be expected to be able to configure the basics of common display managers. Ubuntu uses the lightdm  display manager with the unity greeter. The default greeter  configuration displays the users on the system and allows for the Guest account.




On corporate desktops it is is both insecure and impractical to display the users list. The user list may be populated from an openLDAP directory or even Active Directory and we can see that this would be crazy to attempt to deploy the complete user list from a directory. Additionally, the Guest account can be used by anyone without a password. This is not desirable in a corporate environment.

We can create are own custom configuration in the Ubuntu desktop quite easily and we do not need to edit any existing configuration allowing use to revert at any time should we need. In the example we are using Ubuntu 14.04 LTS.

First we create the directory for the custom configuration:

$ sudo mkdir /etc/lightdm/lightdm.conf.d/

Now we can add the configuration. We will use the vi text editor but feel free to use nano should you want:

$ sudo vi /etc/lightdm/lightdm.conf.d/50-custom.conf

This will be a new file so will open without content. We want to ensure that we do not display the user list or, to put it another way that we hide users in the from the list. This will  be two lines. The 3rd line disable the Guest account. The Initial line just sets the header for the area the configuration that we work with. The file should read as in the following:

[SeatDefaults]
greeter-hide-users=true
greeter-show-manual-login=true
allow-guest=false

We can see this configuration in the screenshot:

greeter

With this setting saved and in place we are ready to go. We can reboot the machine or we can choose the restart the display manager. We will need to do this from a physical console. Use Ctrl+Alt+F1 to access the tty1 console.

If you are using VirtualBox on Windows you can use : Right Ctrl + F1

If you are using VirtualBox on OS X you can use: Left CMD + fn + F1

tty2

We can log on to the text console as your user, in my case tux. From here we can restart the lightdm using the command:

$ sudo service lightdm restart

You will be returned to the login screen and we will see that we now have the desired state. No user list and no Guest login. Of course, we now need to type both the username and password to login.

laterlogin

If we need to revert to the original configuration we can smile delete the configuration file that we created.

2 Comments

  • Kleifgenwpm says:

    close to Us

    introducing a new world of discovery and connection.

    A place where people write for the happiness of it. But writing is where it starts. At HubPages you could create. you’ll be able inform. You can interact. You can chat. Share and show your interests in all types of ways. From words to photo. From movie clips to Forums. From Answers to requests. the possibilities are boundless. the knowledge may even be addicting (In an affordable way). HubPages can also open up a thanking world of learning (You might even are earning).

    NecessaryHubPages Device IDThis is used to distinguish particular browsers or devices when the access the service, And is put to use for security reasons. LoginThis is for you to sign in to the HubPages Service. Google RecaptchaThis is used to counteract bots and spam. (privacy policy)AkismetThis is accustomed detect comment spam. (privacy policy)HubPages Google AnalyticsThis is used to provide data on people to our website, All physically identifyable data is anonymized. (online privacy policy)HubPages Traffic PixelThis is [url=https://charmingdate-com.tumblr.com/]charmingdate.com[/url] used to collect data on people to articles and other pages on our site. Unless you might be signed in to a HubPages account, All your private data is anonymized. Amazon Web companyThis is a cloud help platform that we used to host our service. (policy)CloudflareThis is a cloud CDN service that we use to efficiently deliver files necessary for our service to operate such as javascript, cascading style sheets, snap shots, And taping solutions. (policy)FeaturesGoogle Custom SearchThis is feature enables you to search the site. (online privacy policy)Google MapsSome articles have Google Maps embedded in them. (privacy)Google AdSense Host APIThis service helps you to sign up for or associate a Google AdSense account with HubPages, So that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (policy)Google YouTubeSome articles have YouTube videos baked into them. (online privacy policy)VimeoSome articles have Vimeo videos embedded in them. No data is shared with Paypal unless you engage with this feature. (policy)Facebook LoginYou can use this to streamline registering with, Or signing in on to Hubpages account. No data is shared with Facebook unless you engage with this feature. (privacy policy)MavenThis supports the Maven widget and search overall performance. (policy)MarketingGoogle AdSenseThis is an ad program. (policy)Google DoubleClickGoogle provides ad serving product and runs an ad network. (online privacy policy)Index ExchangeThis is an ad socialize. (online privacy policy)SovrnThis is an ad method. (policy)flickr AdsThis is an ad network. (privacy)Amazon specific Ad MarketplaceThis is an ad network. (online privacy policy)AppNexusThis is an ad network. (policy)OpenxThis is an ad computer network. (privacy)Rubicon ProjectThis is an ad group. (privacy policy)TripleLiftThis is an ad multilevel. (online privacy policy)Say MediaWe partner with Say Media to provide ad campaigns on our sites. (online privacy policy)Remarketing PixelsWe may use remarketing pixels from advertising networks such as google adwords, google Ads, And Facebook in order to advertise the HubPages Service to moat people that have visited our sites. Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as adwords, bing Ads, And Facebook in order to identify when an advert has successfully resulted in the desired action, Such as getting started with the HubPages Service or publishing an article on the HubPages Service. (privacy policy)ComscoreComScore is a media rank and analytics company providing marketing data and analytics to enterprises, Media and selling agencies, And authors. Non consent will result in ComScore only processing obfuscated personal data. (policy)Amazon Tracking PixelSome articles display amazon products as part of the Amazon affiliate marketing program, This pixel provides traffic statistics for individuals products (privacy policy)ClickscoThis is a data therapy platform studying reader behavior (privacy policy).

  • Bartonshb says:

    They may help thus far on-line conveniently with out being dependent on your location. For those who prefer courting with the assistance of your cellular units, choose platforms that provide mobile apps to their users. Badoo has more than 250 million users in 190 nations. Manuel Gozalo, one of the organisers, mentioned Spain’s painful monetary disaster and the lure of city jobs had made the necessity more pressing than ever. Spanish women consider household to be certainly one of their largest goals in life, so once they get it, they feel like they are on prime of the world. UK Spanish dating sites are available in multiple languages, however Spaniards favor to talk their native language, having problems with international languages. While speaking about Spaniards living in the UK, their quantity is lower than 1%, however British persons are nonetheless enthusiastic about such relationships and marriages. In most cultures, children are taught from a really young age to plan for their futures. In many cultures, families will collect collectively to rejoice particular events. Well, everybody loves their family but some in some cultures, the ties and connections are just stronger.

    Based mostly on the Reddit survey, Spaniards are the second-best European lovers, right after the French individuals. Now, I get it- lunchtime is sacred right here and something Spaniards worth. Things could get slightly heated at times but in case you are open, it can blow over. Mobile application. If you’re fond of dating on the move, choose the platforms that offer the mobile apps. Imagine us, be a part of Mingle2 and you’re going to get more than what you can expect of a courting site. Be part of probably the greatest free on-line relationship site among different Spanish dating websites and meet engaging single men and women from any a part of spain. Asocamu credit as its inspiration the 1951 movie Westward the Women, starring Robert Taylor and Denise Darcel, which tells the story of how the American west was populated by organising wagon trains of women to provide company – and brides – for lonely pioneers. As a substitute, acknowledge the magnificence in different girls, reassure her ought to latina love by looking deep into her eyes. Both the mainstream site and their Hispanic part uses their Compatibility Matching System® to match potential love partners. And Nicole insisted she isn’t in love with Antonio the movie star, adding: ‘I am in love with Jose Antonio Dominguez, which is Antonio’s actual title.

    She said: ‘I miss my household because I do not spend as much time with them but my place is at Antonio’s [url=https://www.bestbrides.net/dating-spanish-women-everything-you-need-to-know-to-attract-hot-senoritas/]spanish women[/url] side and that makes up for every part. The vehicle was recovered and returned a short while later with the thief arrested. Give her time to get used to the relationship. Dinners are utilized as an excuse to spend time together. The truth is that many Spanish women are usually not completely satisfied with local men. What Are Spanish Women Like? Many people are interested to find Spanish partners. All in all, it is not troublesome to discover a Spanish partner if you utilize the providers of a dependable courting web site or an app. By finding out Spanish traditions, you will get closer to your partner. If you’re involved in finding your future accomplice in crime, Plenty of Fish helps you meet Spanish singles which might be in your wavelength. Nonetheless, singles in Spain prefer to stay for today and never make plans.

    Mariah is in my heart right this moment and always. Right this moment there are courting sites for yogis, medical doctors, legal professionals, pet lovers, and naturally, Latinos or Hispanics. Not all platforms are reliable. Alternatively, Spanish cities and resorts are standard vacationer attractions, and such relationship platforms could also be used for wanting for someone special to spend an unforgettable vacation with. So, it isn’t unusual for young individuals, together with each males and females, to reside at home till they’re to be wed. Every Saturday and Sunday round 2, he needed to go house for lunch and i used to joke that I by no means saw him before nighttime. The family lunch WILL take up your total afternoon and, fairly probably, your entire night. The wait, however, will likely be completely worth is as your lady emerges from her cave of magnificence looking ravishing in her red lipstick and hip-hugging outfit. Are you on the lookout for flirty phrases in Spanish? In case your plans contain relationship and eventually marrying a Spaniard, you are in for a surprise.

Leave a Reply