Thursday, September 21, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  10] [ 0]  / answers: 1 / hits: 10460  / 1 Year ago, wed, may 18, 2022, 2:43:42

I am currently set to automatically log into this machine and I would like to change that. However, when I go to User Accounts, I am no longer listed.

lightdm/users.conf file is as such:

hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin

My current UID is 503, username is none of the listed hidden-users, and my shell is /bin/bash.

Running Ubuntu 13.04 with Unity on a Dell Optiplex 3010.

Also, greeter-show-manual-login=true had to be put in lightdm.conf so that I could log in because my account does not show up on the greeter either.

no account under My Account

More From » lightdm


Castis' answer did not quite fix the issue for me, even after a full restart, on Ubuntu 16.04. After editing /etc/login.defs to change UID_MIN and GID_MIN from 1000 to 500, I could use adduser to create new accounts with low UIDs, but my old account (with UID 502) was still not being shown.

It seems that AccountsService was caching the fact that it once thought this was a system account. To fix this, I had to manually edit:

In the [User] section, I had to change
SystemAccount=true to SystemAccount=false

After restarting the AccountsService daemon (sudo service accounts-daemon restart) my username reappeared in the System Settings->User Accounts GUI.

Notably, this was an account that was carried over from a previous install of 14.04, and had had its uid manually changed.

[#27362] Thursday, May 19, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 11
Total Questions: 122
Total Answers: 118

Location: Peru
Member since Tue, Mar 16, 2021
3 Years ago
herriail questions
Fri, Apr 7, 23, 19:31, 6 Months ago
Tue, May 18, 21, 02:11, 2 Years ago
Sun, Dec 12, 21, 06:06, 2 Years ago
Wed, May 24, 23, 01:42, 4 Months ago
Sun, Jan 29, 23, 00:48, 8 Months ago