bug reported by mail from Leigh Chapman: authselect current Profile ID: winbind Enabled features: - with-mkhomedir Winbind Config: /etc/security/pam_winbind.conf [global] require_membership_of=USERADGROUP mkhomedir = yes The problem: If I do an su - nobody as user root, the ownership of the RootFs changes to user nobody:nobody # su - nobody This account is currently not available. # ls -al / total 33 dr-xr-xr-x. 18 nobody nobody 238 Apr 22 09:41 . dr-xr-xr-x. 18 nobody nobody 238 Apr 22 09:41 .. In fact, any user who has a home directoy as / in /etc/passwd egrep 'sssd|nscd|nobody' /etc/passwd nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin sssd:x:996:993:User for sssd:/:/sbin/nologin nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
*** Bug 16074 has been marked as a duplicate of this bug. ***
I might be missing something here, but why does a redhat distro seem to be creating users with the entire filesystem as their home directory ? On Debian, the home directory for 'nobody' is /nonexistent .
This bug was referenced in samba master: 79caa6ef08b9b333e17bb0762e95e18e250db463
Created attachment 18964 [details] backport patch for 4.24 and 4.23 and 4.22
(In reply to Björn Jacke from comment #5) Hi, thanks for this quick fix. Do you know if RedHat will include this in their distribution ? Kind Regards Leigh
Leigh, you should talk to your Red Hat support contact.
This bug was referenced in samba v4-24-test: 4b8ec478215551f5aa84d8a6f61ceea78c3ca21e
This bug was referenced in samba v4-24-stable (Release samba-4.24.2): 4b8ec478215551f5aa84d8a6f61ceea78c3ca21e
This bug was referenced in samba v4-22-test: 7e0bdc05237cdf10e5ee22aa884af8337a53607e
This bug was referenced in samba v4-23-test: a7465333e8d54c71308835f9aadd96fcd3fbf849
This bug was referenced in samba v4-23-stable (Release samba-4.23.8): a7465333e8d54c71308835f9aadd96fcd3fbf849
This bug was referenced in samba v4-22-stable (Release samba-4.22.10): 7e0bdc05237cdf10e5ee22aa884af8337a53607e