Bug 380230

Summary: User manager: UID 1001 can see all users. UID 1000 cannot see user he created
Product: [Unmaintained] user-manager Reporter: Pascal d'Hermilly <pascal>
Component: kcontrol moduleAssignee: Jonathan Riddell <jr>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 5.9.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pascal d'Hermilly 2017-05-26 15:49:17 UTC
I created a user, pascal(1001), from user nts(1000) using user manager. The user works great - logged in and everything. But it's not listed in nts's user managers list.

Strange thing is that nts is listed in the user manager for pascal.

User manager:
- nts only sees nts
- pascal sees both nts and pascal.

Adding a third (now non-administrative) user:
- nts sees nts and test user
- pascal sees nts, pascal and test user 

Adding a third user, it is listed both in 

/etc/passwd:
nts:x:1000:1000:nts,,,:/home/nts:/bin/bash
pascal:x:1001:1001:Pascal d'Hermilly:/home/pascal:/bin/bash
test:x:1002:1002:test,,,:/home/test:/bin/bash
Comment 1 Christoph Feck 2017-05-27 15:22:39 UTC
Could you try "qdbus-qt5 --system org.freedesktop.Accounts" to check what the accountsservice thinks about the installed users? From looking at the user-manager code, it uses this dbus service to list users.
Comment 2 Pascal d'Hermilly 2017-05-29 08:20:59 UTC
There is no qdbus-qt5 on my system. I'm guessing that qdbus is the same...

pascal@nts-ThinkPad-T450:~$ qdbus --system org.freedesktop.Accounts
/
/org
/org/freedesktop
/org/freedesktop/Accounts
/org/freedesktop/Accounts/User1001
/org/freedesktop/Accounts/User1000

I'm getting exactly same result on the nts user which is not showing the pascal account. 

BTW. I noticed there is something installed called qdbusviewer that is failing with some missing QT4.
pascal@nts-ThinkPad-T450:~$ qdbusviewer 
qdbusviewer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbusviewer': No such file or directory

My OS is KDE neon user edtion installed a month ago with extra programs.
Comment 3 Christoph Feck 2017-08-23 19:22:18 UTC

*** This bug has been marked as a duplicate of bug 336994 ***