User Tools

Site Tools


servers:samba

This is an old revision of the document!


Information

  • Samba 1)

Prerequisites

Dependencies

sudo apt install 'samba'

Firewall

sudo ufw allow 'Samba'

Service

sudo systemctl enable 'smbd' --now

Settings

  • Add to the bottom of the file
sudo -e '/etc/samba/smb.conf' && sudo systemctl restart 'smbd'
[Music]
    comment = Music at %h
    path = /srv/ftp/nas2/Music
    browsable = yes
    guest ok = yes
    read only = yes

Add User

  • :!: The password can be anything here, but recommended not to be an important password
sudo smbpasswd -a 'espionage724'
2)
vsftpd isn't specifically required, but these notes expect the shared folder mentioned to already be mounted in fstab
/var/www/wiki/data/attic/servers/samba.1635552464.txt.gz · Last modified: 2021/10/29 20:07 by Sean Rhone