← Back to team overview

dx-packages team mailing list archive

[Bug 1290785] Re: Users with UID > 60000 are invisible in login and Settings->User unless /etc/login.defs updated

 

That last comment should be "There seems to be no good reason to
consider users with UID > UID_MAX are system accounts so the best
solution is probably to remove that check."

** Description changed:

- 13.10
- =====
- What I did:
- - Install 13.04
- - create user with UID 10203040 (works as expected on login screen and User settings panel)
- - update to 13.10
+ [Impact]
+ Users of Ubuntu 14.04 LTS with UID > 60000 will not show in the greeter or system settings without editing UID_MAX in /etc/login.defs. This was not required in 12.04 LTS. In 12.04 LTS users were only hidden if they had UID < UID_MIN. In 13.10 this was changed to UID < UID_MIN or UID > UID_MAX.
  
- Expected
- - User available on login screen
- - User shown in system-settings
+ [Test Case]
+ 1. Create a user with a UID > UID_MAX:
+ $ adduser --uid 60001 big-uid
+ 2. Restart system
+ Expected result:
+ "big-uid" is shown in the greeter. Once logged in "big-uid" is shown in system settings.
+ Observed result:
+ "big-uid" is not shown in the greeter (14.04 LTS, 14.10)
+ "big-uid" is not shown in system settings (13.10, 14.04LTS, 14.10)
  
- Actual
- - User _not_ available on login screen, login with manually typed username works
- - User _not_ shown in system-settings
- 
- What I did further
- - in /etc/login.defs set UID_MAX=99999999
- 
- Actual outcome
- - User _is_ available on login screen
- - User _not_ shown in system-settings
- 
- 14.04
- =====
- What I did:
- - update do 14.04
- 
- Expected
- - User available on login screen
- - User _still not_ shown in system-settings
- 
- Actual
- - User _not_ available on login screen, login with manually typed username works
- - User _still not_ shown in system-settings
- 
- So now with 14.04 it is fully broken.
- 
- Additional information
- ======================
- 
- 13.10
- -----
- $ apt-cache policy gnome-control-center
- gnome-control-center:
-   Installiert:           1:3.6.3-0ubuntu45.2
-   Installationskandidat: 1:3.6.3-0ubuntu45.2
-   Versionstabelle:
-  *** 1:3.6.3-0ubuntu45.2 0
-         500 http://de.archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
-         100 /var/lib/dpkg/status
-      1:3.6.3-0ubuntu44 0
-         500 http://de.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
- 
- 14.04
- -----
- $ apt-cache policy gnome-control-center
- gnome-control-center:
-   Installiert:           1:3.6.3-0ubuntu56
-   Installationskandidat: 1:3.6.3-0ubuntu56
-   Versionstabelle:
-  *** 1:3.6.3-0ubuntu56 0
-         500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
-         100 /var/lib/dpkg/status
- 
- ----
- ProblemType: Bug
- DistroRelease: Ubuntu 13.10
- Package: gnome-control-center 1:3.6.3-0ubuntu45.2
- ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
- Uname: Linux 3.11.0-18-generic x86_64
- NonfreeKernelModules: nvidia
- ApportVersion: 2.12.5-0ubuntu2.2
- Architecture: amd64
- Date: Tue Mar 11 10:56:39 2014
- ExecutablePath: /usr/bin/gnome-control-center
- InstallationDate: Installed on 2013-09-02 (189 days ago)
- InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
- MarkForUpload: True
- ProcEnviron:
-  LANGUAGE=de:en
-  PATH=(custom, user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=de_DE.utf8
-  SHELL=/bin/bash
- SourcePackage: gnome-control-center
- UpgradeStatus: Upgraded to saucy on 2014-01-06 (64 days ago)
- usr_lib_gnome-control-center:
-  activity-log-manager        0.9.7-0ubuntu4
-  deja-dup                    27.3.1-0ubuntu1
-  gnome-control-center-signon 0.1.7~+13.10.20130724.1-0ubuntu1
-  gnome-control-center-unity  1.3+13.10.20131004-0ubuntu1
+ [Regression Potential]
+ This could cause users that were previously hidden to be shown. This seems unlikely to be a problem as all system created user accounts are less than UID_MIN and there doesn't seem be a convention to use accounts > UID_MAX for this case.

-- 
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/1290785

Title:
  Users with UID > 60000 are invisible in login and Settings->User
  unless /etc/login.defs updated

Status in “accountsservice” package in Ubuntu:
  Triaged
Status in “accountsservice” source package in Trusty:
  Triaged

Bug description:
  [Impact]
  Users of Ubuntu 14.04 LTS with UID > 60000 will not show in the greeter or system settings without editing UID_MAX in /etc/login.defs. This was not required in 12.04 LTS. In 12.04 LTS users were only hidden if they had UID < UID_MIN. In 13.10 this was changed to UID < UID_MIN or UID > UID_MAX.

  [Test Case]
  1. Create a user with a UID > UID_MAX:
  $ adduser --uid 60001 big-uid
  2. Restart system
  Expected result:
  "big-uid" is shown in the greeter. Once logged in "big-uid" is shown in system settings.
  Observed result:
  "big-uid" is not shown in the greeter (14.04 LTS, 14.10)
  "big-uid" is not shown in system settings (13.10, 14.04LTS, 14.10)

  [Regression Potential]
  This could cause users that were previously hidden to be shown. This seems unlikely to be a problem as all system created user accounts are less than UID_MIN and there doesn't seem be a convention to use accounts > UID_MAX for this case.

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