Bug 836595 - Remove users "lightdm" and "root" from userlist
Summary: Remove users "lightdm" and "root" from userlist
Alias: None
Product: Fedora
Classification: Fedora
Component: accountsservice
Version: 17
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-06-29 15:27 UTC by Heiko Adams
Modified: 2012-07-02 22:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-07-02 22:29:09 UTC

Attachments (Terms of Use)
my lightdm config (4.14 KB, text/plain)
2012-06-29 15:52 UTC, Heiko Adams
no flags Details

Description Heiko Adams 2012-06-29 15:27:56 UTC
Description of problem:
LightDM offers the users "lightdm" and "root" for login in its userlist. But these users shouldn't be there because it should be impossible to login as these users.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. make shure lightdm is your displaymanager
2. reboot the system
Actual results:
LightDM's userlist has entrys for "lightdm" and "root"

Expected results:
LightDM's userlist should only list "normal" users which can login

Additional info:

Comment 1 Rex Dieter 2012-06-29 15:38:24 UTC
As far as I can tell, that's a bug elsewhere (accountservice?), lightdm.conf already contains:

Comment 2 Rex Dieter 2012-06-29 15:39:16 UTC
though I suppose adding those 2 to the explicit blacklist:
couldn't hurt

Comment 3 Christoph Wickert 2012-06-29 15:43:35 UTC
Last time I tested, munimum-uid was already enough. I guess Heiko is using an oudated config.

Heiko, can you make sure your config is up to date?

Comment 4 Heiko Adams 2012-06-29 15:51:35 UTC
I didn't change anything on my config so it should be up2date

Comment 5 Heiko Adams 2012-06-29 15:52:01 UTC
Created attachment 595333 [details]
my lightdm config

Comment 6 Rex Dieter 2012-06-29 15:56:20 UTC
Oh sorry, the file I meant was

which has a comment about how accountsservice is used instead,

# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored

Comment 7 Gregor Tätzner 2012-06-29 16:01:41 UTC
 users.conf is ignored by lightdm if accountsservice is running. For some time now user filtering is based on login shell*

@Heiko is nologin on lightdm user set in /etc/passwd?


Comment 8 Rex Dieter 2012-06-29 16:06:01 UTC
In particular, what does this say?

$ dbus-send --system --print-reply \
  --dest=org.freedesktop.Accounts /org/freedesktop/Accounts \

for me, I get :
method return sender=:1.12 -> dest=:1.129 reply_serial=2
   array [
      object path "/org/freedesktop/Accounts/User1001"
      object path "/org/freedesktop/Accounts/User1000"

$ rpm -q accountsservice

Comment 9 Heiko Adams 2012-06-29 16:09:05 UTC
$ cat /etc/passwd|grep lightdm

$ cat /etc/passwd|grep root

$ rpm -q accountsservice

Comment 10 Gregor Tätzner 2012-06-29 16:16:37 UTC
(In reply to comment #9)
> $ rpm -q accountsservice
> accountsservice-0.6.18-1.fc17.x86_64

What happens when you upgrade to accountsservice from updates-testing?

Comment 11 Heiko Adams 2012-06-29 16:29:15 UTC
Updating to accountsservice from updates-testing solves the problem

Comment 12 Rex Dieter 2012-06-29 16:36:16 UTC
OK, I'm conviced this is an accountsservice bug now, but looks like
got pulled

and we have a new one pending:

either fixes our particular problem here (for me, at least).

Comment 13 Gregor Tätzner 2012-07-02 06:46:53 UTC

Can you push this update also to f16? lightdm in f16 should be affected by this issue, too

Comment 14 Fedora Update System 2012-07-02 13:28:00 UTC
accountsservice-0.6.21-2.fc17 has been submitted as an update for Fedora 17.

Comment 15 Rex Dieter 2012-07-02 13:34:22 UTC
Re: comment #13

Testing on f16, I don't experience this bug with
do you?

Comment 16 Gregor Tätzner 2012-07-02 15:49:07 UTC
uhm...no. I don't have a f16 system here. But probably you are right and the old accountsservice version is not affected by this issue.

Comment 17 Fedora Update System 2012-07-02 22:29:09 UTC
accountsservice-0.6.21-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.