hidden-users and hidden-shells has no effect
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
ProcVersionSign
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.
Hi,
The configuration file has moved from /etc/lightdm/ lightdm. conf to /etc/lightdm/ users.conf. The format is:
# shells= /bin/false /usr/sbin/nologin
# 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-
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!