https://ask.fedoraproject.org/en/question/40353/how-to-enable-samba-share-for-a-specific-directory-fedora-20/
# useradd joe
# passwd joe
or
adduser joe
smbpasswd -a joe
[accounts] comment = Accounts data directory path = /data/accounts valid users = vivek raj joe public = no writable = yes
# service smb restart
A note about adding users on Samba version 4.x
# /usr/local/samba/bin/samba-tool user add USERNAME-HERE
# samba-tool user add USERNAME-HERE
No comments:
Post a Comment