Debian: samba

From OnnoWiki
Revision as of 18:27, 26 February 2022 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install

apt -y install samba


Enable saat start

systemctl enable smbd


Edit /etc/samba/smb.conf

[share]
    path = /home/share
    browseable = yes
    read only = no
    guest ok = yes

[share]
    path = /home/share
    browseable = yes
    read only = no
    guest ok = yes
    valid users = onno,derry,reza

[share1]
    path = /home/share1
    browseable = yes
    read only = no
    guest ok = yes
    valid users = onno,derry,reza


Tambahkan SMBuser

adduser username
smbpasswd -a username