Skip to content

Instantly share code, notes, and snippets.

@interference-security
Created January 1, 2018 17:17
Show Gist options
  • Save interference-security/f7c2cdb9634ea73895b0580846428d7f to your computer and use it in GitHub Desktop.
Save interference-security/f7c2cdb9634ea73895b0580846428d7f to your computer and use it in GitHub Desktop.
apt-get install samba
cd /etc/samba/
Optional:
rm smb.conf
touch smb.conf
nano smb.conf
[Name you want to get shown of the folder]
path = path of folder you want to share
browseable = yes
writeable = yes
read only = no
guest ok = yes
Optional:
add smbuser by the command
smbpasswd -a username
(username must be the user on linux os)
service smbd start
service nmbd start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment