Difference between revisions of "Debian: samba"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Install apt -y install samba") |
Onnowpurbo (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
apt -y install samba | 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 |
Latest revision as of 18:27, 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 = 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