Linux Tip: auto mount remote hdd via fstab

Posted by & filed under Linux.

To map a remote samba share in Linux with read-write access and a username and password, you will require samba. In debian based distros, this is easily obtained via sudo apt-get install samba. Create a secure credentials file: [email protected]:~$ cd /root [email protected]:/root$ su Password: [email protected]:~# echo username=username > .smbpasswd [email protected]:~# echo password=password >> .smbpasswd [email protected]:~#… Read more »