Difference between revisions of "Debian: samba"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 8: | Line 8: | ||
systemctl enable smbd | systemctl enable smbd | ||
+ | |||
+ | |||
+ | Edit /etc/samba/smb.conf | ||
+ | |||
+ | |||
+ | [share] | ||
+ | path = /home/share | ||
+ | browseable = yes | ||
+ | read only = no | ||
+ | guest ok = y[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 |
Revision as of 18:25, 26 February 2022
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 = y[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