I used
I have limited experience with samba and networking in general, and my intention is to have a dedicated user for samba which does not have any other permissions on the system, other than access to the samba shares as specified in /usr/local/etc/smb4.conf with the password set up using
adduser -d /nonexistent
to create a new user for samba shares, and I was prompted to specify a home directory for this user with default suggested as '/nonexistent/<username>'. I chose to proceed with the default and no user home directory was created under '/home' as expected. However, I was able to login as this new user, with its home directory shown as '/nonexistent/<username>'. I am trying to understand if this is the expected behaviour and if '/nonexistent/<username>' is a dummy folder that does not actually exist.I have limited experience with samba and networking in general, and my intention is to have a dedicated user for samba which does not have any other permissions on the system, other than access to the samba shares as specified in /usr/local/etc/smb4.conf with the password set up using
pdbedit
. I think I would not want this user to have login permission to the system either. Please advise if I am going about this the right way. Thanks.