Ubuntu – samba mount fstab

An autocratically mount of samba shears during start is sometimes a very nice comfortable feature. And this is quite simple to achieve.

First setup a credential file like /home/administrator/.smbcredencials

administrator@admin007:~$ cat .smbcredentials 

Followed by the entry in the /etc/fstab:

# Samba Mount
// /home/administrator/share cifs credentials=/home/administrator/.smbcredentials 0 0

Reboot or remount and the external smb share appears at “/home/administrator/share”

Leave a Reply

Your email address will not be published. Required fields are marked *