Me, elsewhere on the net
  • Mastodon
  • Telegram
  • Facebook
  • X
  • VK
  • Instagram

Paolo Redaelli

A civil engineer with a longlife fondness for Software Libero
  • Home
  • Contatti
  • Gnome Apps
  • La conta dei biscotti
  • Info

Segreterie

Paolo Redaelli2019-12-112019-12-11

How to hide a user from login screen in ubuntu 14.04

Mar 24, 2016 • 1 min read login-preference hacks ubuntu

Today, while trying to apply some personalization to my pc, I learned a new hack. So sharing it here, hope it might help some of you.Origin of the problem: I wanted to hide my administrator account from others. So first as a naive trick, I renamed it to Guest Session and created a standard user with my login name. But very obvious, It was not a good solution. So I looked for a way to re order the user names in login screen, so that the Guest Session I created would not appear in the list on top and will look like a normal guest login. While finding that I came across some posts saying, to hide the user from login screen.Yeah! that was something I was looking for. So here is the solution in few steps.

1. Hide the user

First make the `user` a system user, so it will get hidden from login screen.

<span class="nb">cd</span> /var/lib/AccountsService/users/
<span class="nb">sudo </span>vim user.conf

Here user is the name of the user you want to hide. Now, change following:

<span class="nv">SystemAccount</span><span class="o">=</span><span class="nb">false</span>

To:

<span class="nv">SystemAccount</span><span class="o">=</span><span class="nb">true</span>

So, you hid your user. Now How will you login? For that you need a manual login method.

2. Add manual login option

<span class="nb">sudo </span>vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

add the following line at last,

greeter-show-manual-login<span class="o">=</span><span class="nb">true</span>

Done.
Now you can reboot the system. You will see there is no login for $USER. Although there will be an option to login manually using username and password. Go for it!


  • Click to Press This! (Opens in new window) Press This
  • Click to share on Telegram (Opens in new window) Telegram
  • Pocket
  • Share on Tumblr
  • More
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Tweet

Like this:

Like Loading...

Related

Pages: 1 2 3
Posted in Basilica's website, Ubuntu

3 Replies to “Segreterie”

  1. Paolo says:
    2019-12-11 at 22:46

    https://vitux.com/how-to-change-login-lock-screen-background-in-ubuntu/

    Reply
  2. Paolo says:
    2019-12-11 at 23:37

    https://www.cnet.com/how-to/upgrade-to-windows-10-free-heres-how/

    Reply
  3. Paolo Redaelli says:
    2019-12-11 at 23:45

    https://www.howtogeek.com/howto/14369/change-or-reset-windows-password-from-a-ubuntu-live-cd/

    Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related

  • Ubuntu? I don’t know you!
  • Debian: programs from stable, testing, unstable and even experimental without trauma
  • Vanilla OS: More Than Just Vanilla GNOME With Ubuntu

Post navigation

Minder
Hand-Drawn Border Buttons in CSS – ℂ𝕠𝕕𝕖𝕄𝕪𝕌𝕀
Powered by WordPress | Theme: Jorvik by UXL Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT
 

Loading Comments...
 

    %d