JPC

Ubuntu Samba Config

Ubuntu Samba Config
  • Compartilhe esse post
  • Compartilhar no Facebook00
  • Compartilhar no Google Plus00
  • Compartilhar no Twitter

Ubuntu config samba share windows

instalar o samba

sudo apt-get update
sudo apt-get install samba

criar pasta

sudo mkdir /home/Public

alterando permições

sudo chmod 0777 /home/Public
sudo chown -R nobody:nogroup /home/Public

editar arquivo sudo nano /etc/samba/smb.conf

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = ubuntu
security = user
map to guest = bad user
name resolve order = bcast host
dns proxy = no
bind interfaces only = yes
# add to the end
[Public]
path = /home/Public
writable = yes
guest ok = yes
guest only = yes
read only = no
create mode = 0777
directory mode = 0777
force user = nobody

reniciar o serviço de compartilhamento para aplicar as alterações

sudo systemctl restart smbd
  • Compartilhe esse post
  • Compartilhar no Facebook00
  • Compartilhar no Google Plus00
  • Compartilhar no Twitter

Veja Também:

Artigos Relacionados