dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #07988
[Bug 1256585] Re: adduser does not update System Settings "Accounts" or the session login screen
On 2013-12-02 20:27, L Peter Deutsch wrote:
> 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.
accountsservice only shows users with user ID 1000 and above. Actually,
creating users with ID < 1000 is a possible workaround if you *want*
them to not be listed on the login screen.
> 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,
You can configure lightdm so unity-greeter offers the option to type a
username that is not listed. In lightdm.conf:
[SeatDefaults]
greeter-show-manual-login=true
--
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