- apt-get install samba
- adduser smbuser --shell /bin/false
- smbpasswd -a smbuser
- vim /etc/samba/smb.conf
[public]
path = /home/
available = yes
valid users = smbuser
read only = no
browseable = yes
public = yes
writable = yes
5. service smbd restart
沒有留言:
張貼留言