How do I have a SMB File Share auto mount on user login with a username and password? I read something about fstab file but I really want to know more about it. What is it? How do I use it? What are the possible command variables?
Current System:
Ubuntu Gnome 17.04
SMB Server Location
smb://192.168.0.29/Shared HD/
I really would appreciate any help I can get on this, It's times like these that Linux frustrates me; It's so simple on Windows.
where the username is the username for the SMB share and password is the password. For security you should change the permissions so the file is only readable by root, but it will work either way.
Then make a folder that you want to use as the mount point for the smb share, like /media/whatever
Not really, if it's not there at boot then at worst it will try for 90 seconds before giving up and moving on. If it becomes a problem you can just add the noauto option and run the mount command as a startup application.