Bug 1596735
Summary: | accountsservice system account misclassification | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jiri Koten <jkoten> |
Component: | accountsservice | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED NOTABUG | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.6 | CC: | jkoten, tpelka |
Target Milestone: | alpha | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | accountsservice-0.6.50-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-20 16:40:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jiri Koten
2018-06-29 14:53:00 UTC
can you attach, # cat /var/lib/AccountsService/users/test # cat /var/lib/AccountsService/users/test [User] Language= XSession=gnome Icon=/home/test7/.face SystemAccount=true On rhel-7.5 # cat /mnt/local/var/lib/AccountsService/users/test [User] Language=en_US.utf8 XSession=gnome SystemAccount=false The 'test' user gets falsely evaluated as system user in rhel-7.6. accountsservice-0.6.49-1.el7 i think this should be fixed by accountsservice-0.6.50, but you'll have to manually fix /var/lib/AccountsService/users/test since that damage won't get repaired automatically. I still don't see user 'test' in users list. And it's not present in Account Settings either. I have deleted the /var/lib/AccountsService/users/test but that didn't help and after the file was newly created the "SystemAccount=true" I have changed that to false and rebooted but that didn't help either. It's being changed to true upon login. accountsservice-0.6.50-2.el7.x86_64 can you give me the full output of # getent passwd and # cat /etc/shells ? also # cat /etc/shadow (but make sure your password isn't one you care about) (ignore comment 10 it was meant for a different bug) The issue was with my login shell. I use zshell, but after upgrade to 7.6, by mistake I have cleaned up my /etc/shells - used the default /etc/shells.rpmnew which doesn't include /bin/zsh and ended with following. # cat /etc/passwd ... test:x:1001:1001::/home/test7/:/bin/zsh # cat /etc/shells /bin/sh /bin/bash /usr/bin/sh /usr/bin/bash After I fixed /etc/shells the user is present on the login screen and SystemAccount=false Not sure what is the logic behind this in accountsservice part, but I guess we can close it as not a bug. I'm sorry for the trouble. |