hidden-users and hidden-shells has no effect

Bug #833762 reported by 3vi1
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Hiding users on the LightDM login screen does not appear to work. (LightDM 0.9.3-0ubuntu7)

I installed BitDefender, which creates a login-disabled user 'bitdefender' with a shell of '/bin/false'. The user shows up on the LightDM login screen, even though it seems that the default hidden-shells string includes /bin/false. Forcing the hidden-shells setting had no effect, nor did adding the bitdefender user to the hidden-users string.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.9.3-0ubuntu7
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
Date: Thu Aug 25 08:08:35 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64+mac (20110427.1)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.lightdm.lightdm.conf: 2011-08-24T14:58:25.546256

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Hi,

The configuration file has moved from /etc/lightdm/lightdm.conf to /etc/lightdm/users.conf. The format is:

#
# User accounts configuration
#
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
#
[UserAccounts]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin

However, if you are running in Ubuntu LightDM will first try and get the user list from the accounts service. So this configuration is not used. I'm not sure if accounts service can hide users like this, it ignores users with a UID less than UID_MIN (set in /etc/login.defs).

I'll close this as invalid on LightDM assuming you are using accounts service. The problem lies either in accounts service not being able to configure which users to show, or the bit defender package picking an inappropriate UID.

Thanks for the bug!

Changed in lightdm (Ubuntu):
status: New → Invalid
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.