Red Hat Bugzilla – Bug 249491
can't login to gdm with account made by useradd
Last modified: 2013-01-09 23:22:56 EST
Description of problem:
With recent rawhide (after 20070720?), I am unable to login from gdm as a user
to start a desktop session.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install fedora development
2. add a user (firstboot currently seems to crash)
3. try to login as user from gdm
3. Dialog appears:
login to work
Not sure if this is gdm's fault since it was last updated 10 July,
but I am able to start a desktop session without any problem with startx
from a console.
Is this just me?
If not, looks like a f8t1 blocker to me...
It works for me if you log in as root and add a user using system-config-users.
Adding a user with 'usermod' does *not* work - is that how you created the
What's the difference between 'usermod -m' and account creation with
Yes, I used adduser, and you're right system-config-users works for me too.
Moving to shadow-utils.
Sorry forgot to include the text from the dialog, but basically it is
to the affect: your home directory /home/user does not appear to exist.
(Normally I would make my account with firstboot but currently firstboot
is not coming up for me...)
I can't reproduce this problem and I don't suspect shadow-utils fault here.
There wasn't many changes in shadow-utils last "days".
What shadow-utils and selinux-policy do you use? Is the anything important in
logs? Could you provide "strace -f" of useradd.
I can't replicate it either. Dropping from F8Test1 tracker.
Ok, could it be selinux perhaps?
Indeed this seems to be fixed with the latest selinux-policy which
will be in test3 I think.