Home / Linux Admin /
sudo apt-get updatesudo apt-get upgradesudo apt-get install cifs-utilsCreate a credentials file
Plaintext file with contents like
username=<username>
password=<password>
domain=<domain>
//<IPAddressOrHostname>/<share name> /path/to/mount/point cifs credentials=/path/to/credentials//192.168.1.36/myshare /media/myshare cifs credentials=/home/myname/credentials/samba.credentialsmount -a as root will mount everything in /etc/fstabcredentials=/path/to/credentials,file_mode=0664,dir_mode=0775,uid=lskywalker,gid=lskywalkersec=ntlm to the above argumentsthis document last modified: November 13 2017 19:20
Home / Linux Admin /