Red Hat Bugzilla – Bug 836595
Remove users "lightdm" and "root" from userlist
Last modified: 2012-07-02 18:29:09 EDT
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):
Steps to Reproduce:
1. make shure lightdm is your displaymanager
2. reboot the system
LightDM's userlist has entrys for "lightdm" and "root"
LightDM's userlist should only list "normal" users which can login
As far as I can tell, that's a bug elsewhere (accountservice?), lightdm.conf already contains:
though I suppose adding those 2 to the explicit blacklist:
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?
I didn't change anything on my config so it should be up2date
Created attachment 595333 [details]
my lightdm config
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
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?
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
object path "/org/freedesktop/Accounts/User1001"
object path "/org/freedesktop/Accounts/User1000"
$ rpm -q accountsservice
$ cat /etc/passwd|grep lightdm
$ cat /etc/passwd|grep root
$ rpm -q accountsservice
(In reply to comment #9)
> $ rpm -q accountsservice
What happens when you upgrade to accountsservice from updates-testing?
Updating to accountsservice from updates-testing solves the problem
OK, I'm conviced this is an accountsservice bug now, but looks like
and we have a new one pending:
either fixes our particular problem here (for me, at least).
Can you push this update also to f16? lightdm in f16 should be affected by this issue, too
accountsservice-0.6.21-2.fc17 has been submitted as an update for Fedora 17.
Re: comment #13
Testing on f16, I don't experience this bug with
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.
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.