← Back to team overview

dx-packages team mailing list archive

[Bug 1256585] [NEW] adduser does not update System Settings "Accounts" or the session login screen

 

You have been subscribed to a public bug:

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.

** Affects: accountsservice (Ubuntu)
     Importance: Undecided
         Status: New

-- 
adduser does not update System Settings "Accounts" or the session login screen
https://bugs.launchpad.net/bugs/1256585
You received this bug notification because you are a member of DX Packages, which is subscribed to accountsservice in Ubuntu.