Mount Windows SMB share in Ubuntu

Feb 20, 2018 17:22


apt-get install cifs-utils
mkdir /var/tmp/sharetest

One time until reboot, read only:
mount -t cifs -o sec=ntlm,noperm,nounix,vers=3.0,username=USERNAME,password=PASSWORD //XXX.XXX.XXX.XXX/test /var/tmp/sharetest -r

Permanently, read only:
nano /etc/fstab
//XXX.XXX.XXX.XXX/test      /var/tmp/sharetest              cifs    ro,sec=ntlm,noperm,nounix,vers=3.0,username=USERNAME,password=PASSWORD 0 0

ubuntu, windows, полезная инфа, share, samba

Previous post Next post
Up