samba
LL
/syncdrive
[SharedFiles] path = /syncdrive writable = yes browseable = yes guest ok = no create mask = 0755
chown -R nobody:nobody /syncdrive
sudo useradd -M -d /syncdrive -s /usr/sbin/nologin accesstelsudo smbpasswd -a accesstel
\\192.168.81.242\syncdrive
]# vi /etc/samba/smb.conf
[global] workgroup =MYGROUP server string = Samba Server %v netbios name = FileStore# security = user log file = /var/log/samba/log.%m max log size = 1000 panic action = /usr/share/samba/panic-action %d# map to guest = bad user dns proxy = no# obey pam restrictions = yes####
[userone]path = /syncdrive/useronevalid users = useroneread only = nobrowseable = yeswritable = yescreate mask = 0755directory mask = 0755
[usertwo]path = /syncdrive/usertwovalid users = usertworead only = nobrowseable = yeswritable = yescreate mask = 0755directory mask = 0755
[userthree]path = /syncdrive/userthreevalid users = userthreeread only = nobrowseable = yeswritable = yescreate mask = 0755directory mask = 0755
systemctl restart smbdsystemctl restart nmbd
LL
/syncdrive
[SharedFiles] path = /syncdrive writable = yes browseable = yes guest ok = no create mask = 0755
chown -R nobody:nobody /syncdrive
sudo useradd -M -d /syncdrive -s /usr/sbin/nologin accesstelsudo smbpasswd -a accesstel
\\192.168.81.242\syncdrive
]# vi /etc/samba/smb.conf
[global] workgroup =MYGROUP server string = Samba Server %v netbios name = FileStore# security = user log file = /var/log/samba/log.%m max log size = 1000 panic action = /usr/share/samba/panic-action %d# map to guest = bad user dns proxy = no# obey pam restrictions = yes####
[userone]path = /syncdrive/useronevalid users = useroneread only = nobrowseable = yeswritable = yescreate mask = 0755directory mask = 0755
[usertwo]path = /syncdrive/usertwovalid users = usertworead only = nobrowseable = yeswritable = yescreate mask = 0755directory mask = 0755
[userthree]path = /syncdrive/userthreevalid users = userthreeread only = nobrowseable = yeswritable = yescreate mask = 0755directory mask = 0755
systemctl restart smbdsystemctl restart nmbd
LL