← Back to team overview

desktop-packages team mailing list archive

[Bug 833762] Re: hidden-users and hidden-shells has no effect

 

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

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/833762

Title:
  hidden-users and hidden-shells has no effect

Status in “lightdm” package in Ubuntu:
  Invalid

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

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


References