raspberry pi samba service

https://pimylifeup.com/raspberry-pi-samba/

 

 

sudo apt update

sudo apt upgrade -y

sudo apt install samba samba-common-bin

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak

sudo vim /etc/samba/smb.conf

 

sudo smbpasswd -a <USERNAME>

sudo systemctl restart smbd

 

 

[kali t460s]
  comment = kali linux t460s
  path = /home/leonhard
  guest ok = no
  browseable = yes
  writable = yes
  create mask = 744
  directory mask = 755

 

posted @ 2024-08-22 16:26  profesor  阅读(3)  评论(0编辑  收藏  举报