It is a bug that "accountsservice only shows users with user ID 1000 and
above." The number 1000 should not be hard-wired: accountsservice should
use LAST_SYSTEM_UID in /etc/adduser.conf to determine what UIDs are
"user IDs." (In my 50+ years of experience as a system developer,
perhaps the single most common source of bugs is design elements that
force humans to keep two separate pieces of information consistent
manually. IMO, this is a good example.)

Thanks for the tip about lightdm.conf. How could I have found this out
on my own? I think I tried "man lightdm" and "info lightdm", but maybe I
overlooked it.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1256585

Title:
  adduser does not update System Settings "Accounts" or the session
  login screen

Status in “accountsservice” package in Ubuntu:
  Confirmed

Bug description:
  I added some new users to my freshly installed Ubuntu 12.04 system
  using adduser in a Terminal window -- something I've done successfully
  with 3 previous Ubuntu releases. Now everything is OK at the
  filesystem level (/etc/passwd, /home/*, etc.), but neither the System
  Settings "Accounts" GUI nor the initial login screen shows any of the
  new users. I did edit /etc/adduser.conf to limit the range of system
  user and group IDs to 0-199 rather than 0-999, because I'm going to be
  copying a /home hierarchy from an earlier release that used those
  values and all the user IDs I added are in the range 200-999, but
  unless the 0-999 range is hardwired into LightDM or AccountsService or
  some other new piece of system software, this shouldn't cause the
  users to be invisible.

  I've spent hours on this problem with no success. The system is
  unusable until I solve it, because none of the real users on the
  system can log in through the initial login screen, and there is no
  other way to create a session for a different user (sudo -l only
  affects the terminal window, not the desktop etc.).

  To reproduce the problem:
  * Start with a freshly installed 12.04 system, creating "admin1" as the 
initial user.
  * Download and install all post-release patches.
  * Edit /etc/adduser.conf to change the system UID and GID boundary from 1000 
to 200, and to set usergroups to "no".
  * Open a Terminal window, and execute (for example)
           adduser --uid 602 ghost
  * Open the System Settings and select Accounts. The newly added user "ghost" 
will not appear.
  * Log out of the session. When the initial login screen appears, it will not 
offer "ghost" as a login name.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1256585/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to