Bug 13966 - account "nobody" become hidden guest
Summary: account "nobody" become hidden guest
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.8.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2019-05-24 07:22 UTC by tbskyd
Modified: 2019-05-24 07:22 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description tbskyd 2019-05-24 07:22:23 UTC
   I am using rhel 7.6. the guest account of samba is default "nobody" user.
my ftp service use "nobody" account. I want a simple samba share with ftp. so both ftp/samba service will use nobody account to read/write files. I create user account for samba. and smb.conf like below:

        security = user
        guest account = nfsnobody

        path = /share/ftp
        read only = Yes
        force user = nobody
        force group = nobody

the ftp folder is owned by nobody with "0700" permission.

I change samba guest account to "nfsnobody" and hope now "nobody" become a normal unix account. but when user login, they can not access the folder with "0700" permission owned by nobody. I need to change the folder to "0755", or "force user = root" to access the folder.