Last active
November 28, 2018 16:41
-
-
Save M66B/3e976ef1dbe0fe4429f6 to your computer and use it in GitHub Desktop.
fstab: mount samba
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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