Skip to content

Instantly share code, notes, and snippets.

@M66B
Last active November 28, 2018 16:41
Show Gist options
  • Save M66B/3e976ef1dbe0fe4429f6 to your computer and use it in GitHub Desktop.
Save M66B/3e976ef1dbe0fe4429f6 to your computer and use it in GitHub Desktop.
fstab: mount samba
sudo apt-get install cifs-utils --no-install-recommends
sudo mkdir -p /media/share
sudo nano /etc/mysmbpass
username=somebody
password=secret
sudo nano /etc/fstab
//host/share /media/share cifs rw,_netdev,credentials=/etc/mysmbpass 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment