Can not login with gdm3 when user cred is stored in NIS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm3 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
So I no longer can login using gdm3. ssh works fine and from tty console aslo.
This seams to be limited to user that are stored in NIS.
But there also is some issue with local users.
I was running ubuntu 20.20 just fine but after a reboot there is some serious issues with how users are handled. Since I get thrown out directly after typing password there is a very limited amount of information I can give.
lets start with the local user: if I start a gnome-terminal and run "id" I get this.
uid=1000(
if I then login to the same machine with "ssh localhost" and run id i get the correct
uid=1000(
why ???
-------
for nis users I have no information to give as I never get to a bash prompt and can do anything. A critical error looks to be this
pam_systemd(
since that is the first error that shows up for NIS user id that do not show for local user id.
after this error it then terminates with
/usr/lib/
but everything looks to be permission related so if the system got user id and group id correctly things would probably work fine. But I have no idea why gdm3 gets different users than if I ssh into the machine.
So I just added the same information that is in NIS to the local file /etc/passwd /etc/group and now its possible to login with the user so it's 100% that gnome now stopped working with user data in NIS.